Skip to content
This repository has been archived by the owner on Apr 7, 2021. It is now read-only.

Commit

Permalink
fix: spurious test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Aug 21, 2019
1 parent f51a8d3 commit 43d68c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/index.js
Expand Up @@ -178,7 +178,7 @@ test('installPackages unit', t => {
}, err => {
t.match(
err.message,
/Install for codefail failed with code 123/,
/Install for .*codefail.* failed with code 123/,
'npm install failure has helpful error message'
)
t.equal(err.exitCode, 123, 'error has exitCode')
Expand Down

0 comments on commit 43d68c8

Please sign in to comment.