Skip to content

Commit

Permalink
Update test-runner-run.mjs
Browse files Browse the repository at this point in the history
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
  • Loading branch information
Aviv Keller and aduh95 authored Sep 27, 2024
1 parent e1c438c commit e5c71b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-runner-run.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ describe('require(\'node:test\').run', { concurrency: true }, () => {
it('should allow custom arguments via argv', async () => {
const stream = run({ files: [argPrintingFile], argv: ['--a-custom-argument'] });
stream.on('test:fail', common.mustNotCall());
stream.on('test:pass', common.mustCall(1));
stream.on('test:pass', common.mustCall());
// eslint-disable-next-line no-unused-vars
for await (const _ of stream);
});
Expand Down

0 comments on commit e5c71b4

Please sign in to comment.