From 2ec2e75ee81361a850bca643341d240441870334 Mon Sep 17 00:00:00 2001 From: Gar Date: Wed, 8 May 2024 09:41:44 -0700 Subject: [PATCH] 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. --- test/lib/cli/exit-handler.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/lib/cli/exit-handler.js b/test/lib/cli/exit-handler.js index 73cc57cb9a676..a95ac75e56c14 100644 --- a/test/lib/cli/exit-handler.js +++ b/test/lib/cli/exit-handler.js @@ -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,