Skip to content

Commit

Permalink
Update mock.mjs
Browse files Browse the repository at this point in the history
Co-authored-by: Antoine du Hamel <[email protected]>
  • Loading branch information
GeoffreyBooth and aduh95 authored Sep 3, 2023
1 parent 3e9f16c commit bcb1837
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/fixtures/es-module-loaders/mock.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { MessageChannel } from 'node:worker_threads';

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

register(fixtures.fileURL('es-module-loaders/mock-loader.mjs'), {
register('./mock-loader.mjs', import.meta.url, {
data: {
port: port2,
mainImportURL: import.meta.url,
Expand Down

0 comments on commit bcb1837

Please sign in to comment.