Created
May 25, 2017 11:17
-
-
Save pahund/c6cb6584dc69995175935bf89fbf5bfb to your computer and use it in GitHub Desktop.
Chai assertion after running through the Jest code mod
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('When I call bool', () => | |
describe('with “TRUE”', () => { | |
let result; | |
beforeEach(() => result = bool('TRUE')); | |
describe('the result', () => it('is boolean value true', () => | |
expect(result).be.a('boolean').toBe(true) | |
)); | |
}) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment