Unit testing setup

JHipster uses a combination of Jest and Enzyme to unit test the client-side components.

Jest (https://jestjs.io/) is used as the testing framework. Enzyme (http://airbnb.io/enzyme/) is a testing utility for React that makes it easy to unit test React components. In combination, these libraries provide a rich and intuitive testing environment for React.

Let's run the generated unit tests. Run npm test in a Terminal. The tests should all pass out of the box.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.133.109.30