Skip to content

Commit

Permalink
fix: fix tests for ci
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobheun authored and daviddias committed Apr 23, 2018
1 parent 1ff2ee3 commit d1457cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/lock-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ module.exports = (repo) => {
const mochaExceptionHandler = process.listeners('uncaughtException').pop()
process.removeListener('uncaughtException', mochaExceptionHandler)
process.once('uncaughtException', function (err) {
expect(err.message).to.match(/already held/)
expect(err.message).to.match(/already held|IO error/)
})

series([
Expand Down

0 comments on commit d1457cd

Please sign in to comment.