Unit testing setup

JHipster uses Jest to unit test the client-side components, similar to our React and Angular setup. Vue test utilities are used to mount and interact with Vue components.

The configuration for this can be found in src/test/javascript/jest.conf.js.

Let's run the generated unit tests. Run npm test in a Terminal.

Get Full Stack Development with JHipster - Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.