From 11e692a84d4f6e9ab573c339b4e4ee7f8cdd7bf1 Mon Sep 17 00:00:00 2001 From: Maha Benzekri Date: Fri, 3 Jan 2025 14:26:40 +0100 Subject: [PATCH] try --- tests/functional/v2/testClient.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/functional/v2/testClient.js b/tests/functional/v2/testClient.js index 07c5a19a..d80575dc 100644 --- a/tests/functional/v2/testClient.js +++ b/tests/functional/v2/testClient.js @@ -68,7 +68,7 @@ describe('Test UtapiClient', function () { const orig = UtapiClient.prototype._pushToUtapi; const pushStub = sandbox .stub(UtapiClient.prototype, '_pushToUtapi') - .rejects() + .rejects(new Error('Simulated failure')) .onCall(51) .callsFake(orig.bind(client));