We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Atomics
1 parent 82b18ba commit c9e7b5eCopy full SHA for c9e7b5e
lib/internal/test_runner/mock/loader.js
@@ -1,13 +1,9 @@
1
'use strict';
2
const {
3
+ AtomicsNotify,
4
+ AtomicsStore,
5
JSONStringify,
6
SafeMap,
- globalThis: {
- Atomics: {
7
- notify: AtomicsNotify,
8
- store: AtomicsStore,
9
- },
10
11
} = primordials;
12
13
kBadExportsMessage,
lib/internal/test_runner/mock/mock.js
@@ -2,6 +2,8 @@
ArrayPrototypePush,
ArrayPrototypeSlice,
+ AtomicsWait,
Error,
FunctionPrototypeBind,
FunctionPrototypeCall,
@@ -18,10 +20,6 @@ const {
18
20
StringPrototypeSlice,
19
21
StringPrototypeStartsWith,
22
globalThis: {
23
- wait: AtomicsWait,
24
25
SharedArrayBuffer,
26
},
27
0 commit comments