Back to Enzyme

Installation

docs/installation/README.md

2.9.1458 B
Original Source

Installation

enzyme should be installed using npm:

bash
npm i --save-dev enzyme

enzyme can be used with your test runner of choice. All examples in the documentation will be provided using mocha and BDD style chai, although neither library is a dependency of enzyme.

{% include "./react-16.md" %}

{% include "./react-15.md" %}

{% include "./react-014.md" %}

{% include "./react-013.md" %}