Skip to content

Commit

Permalink
timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
shubham9411 committed Nov 4, 2023
1 parent 31e5a53 commit 53a158b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-runner-cli-timeout.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const { test } = require('node:test');

test('test-timeout flag', () => {
const args = ['--test', '--test-timeout', 10, 'test/fixtures/test-runner/never_ending_sync.js'];
const child = spawnSync(process.execPath, args, { timeout: 100 });
const child = spawnSync(process.execPath, args, { timeout: 500 });

assert.strictEqual(child.status, 1);
assert.strictEqual(child.signal, null);
Expand Down

0 comments on commit 53a158b

Please sign in to comment.