Skip to content

Commit befbf08

Browse files
authored
chore: A test where nyc output help text to stderr was flaky (#1269)
This change allows for flaky output of help information from `yargs` to `stderr` when running `nyc` as a child process. Fixes #1259
1 parent 9260a70 commit befbf08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/nyc-integration.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ t.test('nyc displays help to stderr when it doesn\'t know what to do', async t =
294294

295295
t.equal(status, 1)
296296
t.equal(stdout, '')
297-
t.equal(stderr, help.stdout)
297+
t.match(stderr, help.stdout)
298298
})
299299

300300
t.test('handles --clean / --no-clean properly', async t => {

0 commit comments

Comments
 (0)