Created
May 27, 2017 16:21
-
-
Save pahund/e40da6640cf8c63f000cf7b4015f4aa2 to your computer and use it in GitHub Desktop.
Using chai assertions with Jest's expect – this doesn't work because of short-hand arrow function
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