Last active
September 8, 2017 19:37
-
-
Save kylewhitaker/6836ac6b451ad0a5763755d91dbe014b to your computer and use it in GitHub Desktop.
Example Unit Test: "Some Component: when someMethod is called and someCondition is true then something should happen"
This file contains 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('SomeComponent:', () => { | |
describe('when someMethod is called', () => { | |
describe('and someCondition is true', () => { | |
it('then something should happen', () => { | |
// expect: something to happen | |
}); | |
}); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment