Created
May 25, 2017 11:20
-
-
Save pahund/55531056ea2cfb6a1dd6f13db381e31f to your computer and use it in GitHub Desktop.
Original chai assertion before 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', () => | |
result.should.be.a('boolean').and.equal(true) | |
)); | |
}) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment