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

Commit

Permalink
Fix: purser-metamask test throw on message cancel
Browse files Browse the repository at this point in the history
  • Loading branch information
rdig committed Jul 15, 2019
1 parent c94a27e commit ffb07ab
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,7 @@ describe('`Metamask` Wallet Module Static Methods', () => {
mockedMessageSignature,
),
);
expect(() => signMessage(mockedArgumentsObject)).not.toThrow();
expect(warning).toHaveBeenCalled();
expect(signMessage(mockedArgumentsObject)).rejects.toThrow();
});
});
});

0 comments on commit ffb07ab

Please sign in to comment.