Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixup
Signed-off-by: Matteo Collina <hello@matteocollina.com>
  • Loading branch information
mcollina committed Jul 22, 2024
commit c761443afff897ba06fd06c734fe3ccb39d4b4db
5 changes: 3 additions & 2 deletions test/parallel/test-runner-run-files-undefined.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import tmpdir from '../common/tmpdir.js';
import { describe, it, run, beforeEach } from 'node:test';
import { dot, spec, tap } from 'node:test/reporters';
import { fork } from 'node:child_process';
import assert from 'node:assert';

if (process.env.CHILD === 'true') {
describe('require(\'node:test\').run with no files', { concurrency: true }, () => {
Expand Down Expand Up @@ -48,6 +49,6 @@ if (process.env.CHILD === 'true') {
fork(import.meta.filename, [], {
env: { CHILD: 'true' }
}).on('exit', common.mustCall((code) => {
assert.strictEqual(code, 0);
});
assert.strictEqual(code, 0);
}));
}