Skip to content

Commit bcb1837

Browse files
Update mock.mjs
Co-authored-by: Antoine du Hamel <[email protected]>
1 parent 3e9f16c commit bcb1837

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/fixtures/es-module-loaders/mock.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { MessageChannel } from 'node:worker_threads';
55

66
const { port1, port2 } = new MessageChannel();
77

8-
register(fixtures.fileURL('es-module-loaders/mock-loader.mjs'), {
8+
register('./mock-loader.mjs', import.meta.url, {
99
data: {
1010
port: port2,
1111
mainImportURL: import.meta.url,

0 commit comments

Comments
 (0)