Created
April 1, 2020 08:14
-
-
Save manakuro/f2a7cbe99633a759e892ede1cba799f0 to your computer and use it in GitHub Desktop.
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('getAnimal', () => { | |
context('when passing code 1', () => { | |
beforeEach(() => { | |
// arrange | |
// prepare data here | |
}) | |
it('should get CATS', () => { | |
// act | |
const result = getAnimal(1) | |
// assert | |
expect(result).toEqual('CATS') | |
}) | |
}) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment