From 7664cc68b0f396bd81e944cddf48e2896b7a5775 Mon Sep 17 00:00:00 2001 From: Miguel de Barros Date: Wed, 9 Jun 2021 10:12:43 +0200 Subject: [PATCH] Added missing check to unit test --- src/test/unit/lib/model/AuthorizationsModel.test.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/unit/lib/model/AuthorizationsModel.test.js b/src/test/unit/lib/model/AuthorizationsModel.test.js index 922db957d..7c1ad4714 100644 --- a/src/test/unit/lib/model/AuthorizationsModel.test.js +++ b/src/test/unit/lib/model/AuthorizationsModel.test.js @@ -370,6 +370,7 @@ describe('AuthorizationsModel', () => { try { await model.run({ transactionRequestId, fspId, authorization }); + throw new Error('this point should not be reached'); } catch (err) { expect(model.context.data.currentState).toEqual('errored'); expect(err.requestActionState).toEqual({