Skip to content

Commit

Permalink
Make loader URL
Browse files Browse the repository at this point in the history
  • Loading branch information
corrideat committed Oct 28, 2023
1 parent 14b4331 commit b63a7f1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
*/

import { glob } from 'glob';
import { fileURLToPath } from 'node:url';
import { spawnSync } from 'node:child_process';

if (process.argv.length !== 3) {
Expand All @@ -31,7 +30,7 @@ const result = spawnSync(
[
'--no-warnings=ExperimentalWarning',
'--loader',
fileURLToPath(new URL('./loader.mjs', import.meta.url)),
new URL('./loader.mjs', import.meta.url).toString(),
'--test',
...jsfiles,
],
Expand Down

0 comments on commit b63a7f1

Please sign in to comment.