Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Commit

Permalink
Fix transaction matcher test afer changes to error handler in transpo…
Browse files Browse the repository at this point in the history
…rt handleEventPostTransaction
  • Loading branch information
pablitovicente authored and nazarhussain committed Jul 30, 2020
1 parent 1867f67 commit 125ddcb
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,11 +132,7 @@ describe('Matcher', () => {
node['_transport'].handleEventPostTransaction({
transaction: tx.getBytes().toString('base64'),
}),
).resolves.toEqual(
expect.objectContaining({
message: expect.stringContaining('Transaction was rejected'),
}),
);
).rejects.toEqual(new Error('Transaction type not found.'));
});
});
});
Expand Down

0 comments on commit 125ddcb

Please sign in to comment.