@ethereum-waffle/chai
Version:
A sweet set of chai matchers for your blockchain testing needs.
8 lines (6 loc) • 305 B
Markdown
Assert parameters
- `expression` - expression to test for truthiness
- `errorMessage` - text to display if expression is false
- `negatedErrorMessage` - text to display if expression is true, when combined with `.not`
- `expected` (optional) - what was expected
- `actual` (optional) - what was provided