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

Commit

Permalink
Removing expectation, since following expects will fail, if there is …
Browse files Browse the repository at this point in the history
…no error throw from verifyRoutingRules
  • Loading branch information
sitetester committed Nov 21, 2023
1 parent 0ad4a55 commit f1ed310
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -798,11 +798,6 @@ describe('BaseCrossChainUpdateCommand', () => {
true,
);

// let's make sure it indeed throws expected error
expect(() => {
command['verifyRoutingRules'](ccm, executeContext.params, executeContext.chainID, true);
}).toThrow('blah');

const ccmBytes = executeContext.params.inboxUpdate.crossChainMessages[0];
const ccmID = getIDFromCCMBytes(ccmBytes);
const ccmContext = {
Expand Down

0 comments on commit f1ed310

Please sign in to comment.