Skip to content

Instantly share code, notes, and snippets.

@oampo
Last active September 28, 2016 21:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oampo/a45d5e1d78372dd5874db49110ba96d0 to your computer and use it in GitHub Desktop.
Save oampo/a45d5e1d78372dd5874db49110ba96d0 to your computer and use it in GitHub Desktop.

Testing your components

  • Add a test file for each component to the test directory.
  • Use shallow or full DOM rendering to test that each component is rendered correctly, and responds to its input props how you would expect.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment