Skip to content

Commit

Permalink
fixup! test_runner: better handle async bootstrap errors
Browse files Browse the repository at this point in the history
  • Loading branch information
cjihrig committed Feb 24, 2023
1 parent 7f84bb0 commit 59b149d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-runner-reporters.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ describe('node:test reporters', { concurrency: true }, () => {
it('should throw when reporter setup throws asynchronously', async () => {
const child = spawnSync(
process.execPath,
['--test', '--test-reporter', fixtures.path('empty.js'), 'reporters.js'],
['--test', '--test-reporter', fixtures.fileURL('empty.js'), 'reporters.js'],
{ cwd: fixtures.path('test-runner') }
);
assert.strictEqual(child.status, 7);
Expand Down

0 comments on commit 59b149d

Please sign in to comment.