Skip to content

Commit 2a3ae61

Browse files
vivek958aduh95
andauthored
Update test/parallel/test-esm-loader-null-source.js
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
1 parent 0d6e718 commit 2a3ae61

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/parallel/test-esm-loader-null-source.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import path from 'path';
55
// Test that ESM loader handles null/undefined source gracefully
66
// and throws meaningful error instead of ERR_INTERNAL_ASSERTION.
77
// Refs: https://github.com/nodejs/node/issues/60401
8-
const fixturePath = pathToFileURL(path.join(__dirname, '../fixtures/test-null-source.js')).href;
8+
const fixtureURL = fixtures.fileURL('test-null-source.js');
99
const common = require('../common');
1010
const assert = require('assert');
1111
const { spawnSync } = require('child_process');

0 commit comments

Comments
 (0)