I'm using mocha
and chai
as assertions.
I have several assertions in my spec:
Exp1.should.be.true
Exp2.should.be.true
Exp3.should.be.true
If one of them fails mocha writes "expected false to be true". Is there a way to identify them?
With expect
I can do it:
expect(Exp1, 'Exp1').to.be true
Is something like this possible with should
?