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-bignumber does this, but I'm not convinced it's that useful of a feature: I'd either always have the dependency injected, or always require it inside the plugin, not both.
https://github.com/ZeppelinSolutions/chai-bn/blob/1900f60a9d5fbba3d44c755e24b5efe2f81d3a1d/chai-bn.js#L1
We could add a default value of
BN = require('bn.js')
. What do you think? Coupled with #3 it works out nicely I think.The text was updated successfully, but these errors were encountered: