Creating Tests
The Create Nom App test engine supports Mocha out of the box.
Filename Conventions
The test engine will load your tests from the tests directory. The engine will
detect whether to use the Mocha or Jest runner based on the filename pattern:
Files with
.spec.jssuffix will run through the Mocha test runner.Jest as a test runner is on the roadmap.
Running Tests
You can run tests with the test script.
yarn test
npm test