Closed ghost closed 8 years ago
I checked against Chai and Expect and found that this code doesn't throw. There are other differences too.
suite.test('t.notThrows()', t => { t.notThrows(() => { throw new Error('This is a message'); }); });
However it throws in this module if you try it out.
Chai: https://github.com/chaijs/chai/blob/master/test/assert.js#L1150
I close this. Has been solved.
I checked against Chai and Expect and found that this code doesn't throw. There are other differences too.
However it throws in this module if you try it out.
Chai: https://github.com/chaijs/chai/blob/master/test/assert.js#L1150