Reputation: 24581
As Should.js use BDD style of assertions, it suppose to be readable from the code. I am wondering what is the most readable assert.fail() equivalent for should.js. I am missing something like should.fail
.
Upvotes: 1
Views: 244
Reputation: 24581
So far I came up with:
false.should.be.true;
or
false.should.be.ok;
Upvotes: 0