enzyme
https://github.com/enzymejs/enzyme
JavaScript
JavaScript Testing utilities for React
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
JavaScript not yet supported4 Subscribers
Add a CodeTriage badge to enzyme
Help out
- Issues
- mount Suspense and throw promise - Enzyme Internal Error: unknown node with tag 2
- internal state of component that uses useState hook not changing after mutating it more than once.
- componentDidUpdate() not getting called after calling .setProps() on mounted component
- Enzyme snapshot showing [object,Object] for shallow rendering snapshots
- componentDidUpdate() does not get called when .setProps() is called with new props
- wrapper.html() does not generate "checked" attribute of input
- shallow doesn't work correctly with useState + React.memo
- setState call in cWRP prevents correct cDU call
- wrappedComponent doesn't actually pass context values down in tests
- Multiple dive calls reduxForms
- Docs
- JavaScript not yet supported