Created
May 25, 2017 11:38
-
-
Save pahund/0470f90ab83544ace18099d69d179bbe to your computer and use it in GitHub Desktop.
Chai assertion after running through the Jest code mod, fixed manually
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(typeof result).toBe('boolean'); | |
expect(result).toBe(true); | |
})); | |
}) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment