js-must icon indicating copy to clipboard operation
js-must copied to clipboard

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...

Results 27 js-must issues
Sort by recently updated
recently updated
newest added

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.

Hi, love this library, much better and safer than chai. I'm migrating some test done with mocha, chai and typescript, and just a silly request could you export expect as...

Sometimes I want to compare properties in a non-strict way, but would like to keep the notation. Besides, I'd like to see the actual value of the property right away,...

Using `0.13.4`: ```javascript // fails as expected expect([]).to.not.be.empty() expect(null).to.not.be.empty() // passes unexpectedly expect(undefined).to.not.be.empty() ``` Does must.js treat `undefined` as a distinct case? In the above cases, I'd expect it to...

I have recently been using the `.have.properties()` assertion a lot and in all my use cases I needed a value based comparison (deep equals) instead of `===` I would suggest...

Must.prototyp.assert generates a message that reads `'${stringify(this.actual)} must …'`. When the actual is a Promise, this produces the less informative representation `'{}'`. To add insult to injury, in Node 0.10,...

I recently switched to must from chai, because I started to used Standardjs. I do find the reasons why you created must meaningful ("Beware of libraries that assert on property...

I just wanted to let you know that Must looks like a great library, but I opted to pass on it for two easily correctable reasons: * it modifies the...

Do you plan to make a build for browsers and test `must.js` in browsers? It is a show stopper for [us](http://bem.info) to use it for our UI libraries.

**Hi!** I've got a problem to use `js-must` in browser, so I setted up [lmd](http://lmdjs.org) builder to assemble distribution package for browser and added it to repo (to use in...