We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d6e718 commit 2a3ae61Copy full SHA for 2a3ae61
1 file changed
test/parallel/test-esm-loader-null-source.js
@@ -5,7 +5,7 @@ import path from 'path';
5
// Test that ESM loader handles null/undefined source gracefully
6
// and throws meaningful error instead of ERR_INTERNAL_ASSERTION.
7
// Refs: https://github.com/nodejs/node/issues/60401
8
-const fixturePath = pathToFileURL(path.join(__dirname, '../fixtures/test-null-source.js')).href;
+const fixtureURL = fixtures.fileURL('test-null-source.js');
9
const common = require('../common');
10
const assert = require('assert');
11
const { spawnSync } = require('child_process');
0 commit comments