Created
May 27, 2017 16:26
-
-
Save pahund/ae5d6bb311ab9ecf59f19d28a41c9f88 to your computer and use it in GitHub Desktop.
Chai assertions with Jest's expect – this works
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe('the result', () => it('is boolean value false', () => { | |
expect(result).to.be.a('boolean').and.equal(false); | |
})); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment