-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
auxiliaries/tests/auxiliaries.test.ts
Lines 20 to 24 in 5a69eb5
| it('should throw on false expression', () => { | |
| const message = 'always throw'; | |
| expect(auxiliaries.assertions()).to.be.true; | |
| expect(() => { auxiliaries.assert(false, message); }).to.throw; | |
| }); |
The test in line 23 is sucessful for all the four lines:
expect(() => { auxiliaries.assert(false, message); }).to.throw;
expect(() => { auxiliaries.assert(true, message); }).to.throw;
expect(() => { auxiliaries.assert(false, message); }).to.not.throw;
expect(() => { auxiliaries.assert(true, message); }).to.not.throw;
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working