{"repo":"enzymejs/enzyme","free":true,"listed":false,"github":"https://github.com/enzymejs/enzyme","clone":"git clone https://github.com/enzymejs/enzyme.git","description":"JavaScript Testing utilities for React","language":"JavaScript","stars":19824,"topics":["enzyme","react","mocha","react-components","ava","jest","chai","assertion-library","traversal","test-runners"],"license":"MIT","category":"ui-components","readme_excerpt":"Enzyme ======= Enzyme is a JavaScript Testing utility for React that makes it easier to test your React Components' output. You can also manipulate, traverse, and in some ways simulate runtime given the output. Enzyme's API is meant to be intuitive and flexible by mimicking jQuery's API for DOM manipulation and traversal. Upgrading from Enzyme 2.x or React 16.0.0-0 &#124;&#124; 16.1 enzyme-adapter-react-15 ^15.5.0 enzyme-adapter-react-15.4 15.0.0-0 - 15.4.x enzyme-adapter-react-14 ^0.14.0 enzyme-adapter-react-13 ^0.13.0 Finally, you need to configure enzyme to use the adapter you want it to use. To do this, you can use the top level configure(...) API. 3rd Party Adapters ============= It is possible for the community to create additional (non-official) adapters that will make enzyme work with other libraries. If you have made one and it's not included in the list below, feel free to make a PR to this README and add a link to it! The known 3rd party adapters are: Adapter Package For Library Status --- --- --- enzyme-adapter-preact-pure preact (stable) enzyme-adapter-inferno inferno (work in progress) Running Enzyme Tests =========== Enzyme is unopinionated regarding which test runner or assertion library you use, and should be compatible with all major test runners and assertion libraries out there. The documentation and examples for enzyme use Mocha and Chai, but you should be able to extrapolate to your framework of choice. If you are interested in using enzyme with custom a","default_branch":null,"files":null,"tree":[],"storefront":"/r/enzymejs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/enzymejs/enzyme/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}