moll / js-must

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

Closed jandockx closed 7 years ago

jandockx commented 7 years ago

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.

moll commented 7 years ago

Aw, <3. Thank you for the quick fix, too!

jandockx commented 7 years ago

You're welcome