Skip to content

Commit 59b149d

Browse files
committed
fixup! test_runner: better handle async bootstrap errors
1 parent 7f84bb0 commit 59b149d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-runner-reporters.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ describe('node:test reporters', { concurrency: true }, () => {
120120
it('should throw when reporter setup throws asynchronously', async () => {
121121
const child = spawnSync(
122122
process.execPath,
123-
['--test', '--test-reporter', fixtures.path('empty.js'), 'reporters.js'],
123+
['--test', '--test-reporter', fixtures.fileURL('empty.js'), 'reporters.js'],
124124
{ cwd: fixtures.path('test-runner') }
125125
);
126126
assert.strictEqual(child.status, 7);

0 commit comments

Comments
 (0)