Skip to content

Commit

Permalink
Added missing check to unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
mdebarros committed Jun 9, 2021
1 parent 6276b46 commit 7664cc6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/test/unit/lib/model/AuthorizationsModel.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit 7664cc6

Please sign in to comment.