Skip to content

Commit

Permalink
Add equals override for BigNumber (TrueFiEng#481)
Browse files Browse the repository at this point in the history
  • Loading branch information
phated authored Jun 16, 2021
1 parent 30a9fb5 commit f4eda52
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions waffle-chai/src/matchers/bigNumber.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ export function supportBigNumber(
Assertion: Chai.AssertionStatic,
utils: Chai.ChaiUtils
) {
Assertion.overwriteMethod('equals', override('eq', 'equal', utils));
Assertion.overwriteMethod('equal', override('eq', 'equal', utils));
Assertion.overwriteMethod('eq', override('eq', 'equal', utils));

Expand Down

0 comments on commit f4eda52

Please sign in to comment.