Last active
January 24, 2021 21:25
-
-
Save bmdalex/62567a25c81e93f70464b43129204aa0 to your computer and use it in GitHub Desktop.
DON'T create a cluttered test suite with a flat structure
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
it('mounts properly', () => { ... }) | |
it('when the user submits a form should register the user by calling external API', | |
() => { ... }) | |
it('renders properly', () => { ... }) | |
it('when the form is loaded should make the submit button disabled', () => { ... }) | |
it('should log the appropriate error', () => { ... }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment