You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Chai's members can be used to test that an array contains certain values, as determined by strict equality or optionally deep equality.
Neither of those is appropriate to test arrays of big numbers (although deep equality works, it isn't ideal). We could maybe make the bignumber property modify members to compare values using bignumber equality?
On the other hand, this same issue shows up with many other Chai assertions, like oneOf...
The text was updated successfully, but these errors were encountered:
Chai's
members
can be used to test that an array contains certain values, as determined by strict equality or optionally deep equality.Neither of those is appropriate to test arrays of big numbers (although deep equality works, it isn't ideal). We could maybe make the
bignumber
property modifymembers
to compare values using bignumber equality?On the other hand, this same issue shows up with many other Chai assertions, like
oneOf
...The text was updated successfully, but these errors were encountered: