Skip to content

Commit 2ec2e75

Browse files
committed
chore: disable progress on shellout exit tests
These tests assert what happens if a shellout command like exec throws unexpected errors by checking what is written to stderr. Progress also gets written to stderr but is not always deterministic due to the nature of calling it via setInterval. So this disables progress for these tests so the stderr assertions can be relied on to be the same.
1 parent e9fdc9a commit 2ec2e75

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/lib/cli/exit-handler.js

+1
Original file line numberDiff line numberDiff line change
@@ -652,6 +652,7 @@ t.test('do no fancy handling for shellouts', async t => {
652652
argv: ['-c', 'exit'],
653653
config: {
654654
timing: false,
655+
progress: false,
655656
...opts.config,
656657
},
657658
...opts,

0 commit comments

Comments
 (0)