From 5d5861aa1e378451004260c38a4632969e68882e Mon Sep 17 00:00:00 2001 From: Matteo Collina Date: Thu, 8 Feb 2024 16:27:51 +0100 Subject: [PATCH] fixup Signed-off-by: Matteo Collina --- test/start.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/start.test.js b/test/start.test.js index 25894cb3..13f4cf69 100644 --- a/test/start.test.js +++ b/test/start.test.js @@ -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') } } }) @@ -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') } })