diff options
Diffstat (limited to 'test/parallel/test-internal-module-wrap.js')
-rw-r--r-- | test/parallel/test-internal-module-wrap.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parallel/test-internal-module-wrap.js b/test/parallel/test-internal-module-wrap.js index 116a300543..b0cc3a1cf0 100644 --- a/test/parallel/test-internal-module-wrap.js +++ b/test/parallel/test-internal-module-wrap.js @@ -10,8 +10,8 @@ const { ModuleWrap } = internalBinding('module_wrap'); const { getPromiseDetails, isPromise } = internalBinding('util'); const setTimeoutAsync = require('util').promisify(setTimeout); -const foo = new ModuleWrap('export * from "bar"; 6;', 'foo'); -const bar = new ModuleWrap('export const five = 5', 'bar'); +const foo = new ModuleWrap('foo', undefined, 'export * from "bar"; 6;', 0, 0); +const bar = new ModuleWrap('bar', undefined, 'export const five = 5', 0, 0); (async () => { const promises = foo.link(() => setTimeoutAsync(1000).then(() => bar)); |