An assertion library for JavaScript and Node.js with a friendly BDD syntax (awesome.must.be.true()). It ships with many expressive matchers and is test runner and framework agnostic. Follows RFC 2119 with its use of MUST. Good stuff and well tested.
Other
336
stars
35
forks
source link
prevent an UnhandledPromiseRejectionWarning in the tests for reject #67
Since I love must since about a week (really):
The test suite currently generates a UnhandledPromiseRejectionWarning in the tests for Must.prototype.reject on at least node v6.11.2
This is bothering me :-P.
This PR contains 1 line of code that prevents the UnhandledPromiseRejectionWarning in the tests for Must.prototype.reject.