Automattic / Automattic/expect.js
[Feature] Custom message
Open
- Dominant language
- JavaScript
- Stars
- 2.1k
- Forks
- 207
- PR merge metrics
- No merged PRs in 30d
Description
Would it be possible get a facility for adding a custom message to errors? Maybe an extra parameter somewhere, or an extra chained flag:
```
expect(this).to.be.ok("oh noes");
expect(that).to.be.ok().msg("oh well");
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.