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

Correct typing by adding the optional custom error message that can be given #77

Open dietergeerts opened 3 years ago

dietergeerts commented 3 years ago

I get errors when using this library with TS when using a custom error message. This commit should fix the optional custom error message that can be given.