Skip to content

Commit 6d235a8

Browse files
dygaboaduh95
andcommitted
Apply suggestions from code review
Co-authored-by: Antoine du Hamel <[email protected]>
1 parent 3bd738e commit 6d235a8

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

test/es-module/test-esm-loader-hooks.mjs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -790,11 +790,9 @@ describe('Loader hooks', { concurrency: !process.env.TEST_PARALLEL }, () => {
790790
const { code, signal, stdout, stderr } = await spawnPromisified(process.execPath, [
791791
...additionalOptions,
792792
'--import',
793-
'../es-module-loaders/builtin-named-exports.mjs',
793+
fixtures.fileURL('es-module-loaders/builtin-named-exports.mjs'),
794794
fixtures.path('es-modules/require-esm-throws-with-loaders.js'),
795-
], {
796-
cwd: fixtures.path('es-modules'),
797-
});
795+
]);
798796

799797
assert.strictEqual(stderr, '');
800798
assert.strictEqual(stdout, '');

0 commit comments

Comments
 (0)