Skip to content

Commit

Permalink
chore: disable progress on shellout exit tests
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
wraithgar committed May 9, 2024
1 parent e9fdc9a commit 2ec2e75
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/lib/cli/exit-handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -652,6 +652,7 @@ t.test('do no fancy handling for shellouts', async t => {
argv: ['-c', 'exit'],
config: {
timing: false,
progress: false,
...opts.config,
},
...opts,
Expand Down

0 comments on commit 2ec2e75

Please sign in to comment.