Enzyme is a JavaScript Testing utility for React that makes it easier to assert, manipulate, and traverse your React Components' output. It was developed by Airbnb and is now maintained by the community. Enzyme's API is designed to be intuitive and flexible by mimicking jQuery's API for DOM manipulation and traversal.
0 / day
0 / day
0 pages per visit
Domain Rating
Domain Authority
Citation Level
English, etc
Test components in isolation and assert facts about what they render.
Render components to the DOM and interact with them as if they were in a real browser environment.
Render React components to static HTML and analyze the resulting HTML structure.
Provides a jQuery-like API for traversing and manipulating the rendered output.
Works with all major test runners and assertion libraries.
Backed by a large community and used by many companies worldwide.
Supports custom renderers and can be extended to work with other libraries.
Allows testing of component lifecycle methods.
Simulate events on the rendered components.
Integrates with Jest for snapshot testing.
MIT
https://github.com/enzymejs/enzyme
Comprehensive documentation available at enzymejs.github.io
Open for contributions. Guidelines available in the repository.
As of the last update, the latest version is 3.x
Requires React and a compatible test runner like Jest, Mocha, or Jasmine.
Discussions and support available through GitHub issues and community forums.
Security headers report is a very important part of user data protection. Learn more about http headers for enzymejs.github.io