We generate unit test and code coverage check for failure. The app test files are located in the
demo-app/test/ directory, and component test files are located in the
packages/<componentName>/test/ directory—and you can add additional unit tests for each new method or feature in the future.
To run the test, go to the root level of your repository (ex. your-component), and run the following commands.
$ npm test
This will run
lerna bootstrap && lerna run test in the background. The process goes into every
packages/ directory and runs the
npm test for each component.