Skip to content

Instantly share code, notes, and snippets.

@sriram15690
Created October 5, 2016 07:03
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 sriram15690/11d81de6985669cad4d22b71751ce5b3 to your computer and use it in GitHub Desktop.
Save sriram15690/11d81de6985669cad4d22b71751ce5b3 to your computer and use it in GitHub Desktop.
Enzyme:
1. Enzyme is a JavaScript Testing utility for React that makes it easier to assert, manipulate, and traverse your React Components' output.
2. Use any assertion library.
3. Shallow rendering - useful for testing components as a unit, and to ensure that your tests aren't indirectly asserting on behavior of child components.
4. methods are similar to jQeury API
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment