Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
Signed-off-by: Matteo Collina <[email protected]>
  • Loading branch information
mcollina committed Feb 8, 2024
1 parent 8915111 commit 5d5861a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/start.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ test('should error with a good timeout value', async t => {
const start = proxyquire('../start', {
assert: {
ifError (err) {
t.equal(err.code, 'AVV_ERR_READY_TIMEOUT')
t.equal(err.code, 'AVV_ERR_PLUGIN_EXEC_TIMEOUT')
}
}
})
Expand All @@ -257,7 +257,7 @@ test('should error with a good timeout value', async t => {
const argv = ['-p', port, '-T', '100', './test/data/timeout-plugin.js']
await start.start(argv)
} catch (err) {
t.equal(err.code, 'AVV_ERR_READY_TIMEOUT')
t.equal(err.code, 'AVV_ERR_PLUGIN_EXEC_TIMEOUT')
}
})

Expand Down

0 comments on commit 5d5861a

Please sign in to comment.