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));