asmarques / chai-bignumber

Chai assertions for comparing arbitrary-precision decimals using the bignumber.js library
MIT License
14 stars 37 forks source link

Add greaterThanOrEqual and lessThanOrEqual aliases #15

Closed doubledup closed 1 year ago

doubledup commented 1 year ago

There are aliases in chai for greaterThanOrEqual and lessThanOrEqual, but no corresponding aliases in chai-bignumber. I noticed because I got a weird test failure when switching some objects over to BigNumber: something like a type mismatch where it expected a number or a Date.