Skip to content
Projects

ErickWendel/tdd-frontend-example

View on GitHub

About

An example of how you can run unit tests using Node.js even on your frontend files

Web & App Development

How these counts are measured

Measured star growth

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

Example of Unit Testing on the Browser with JavaScript, Jest and ECMAScript Modules

  • This is an example of how you can run unit tests using Node.js even on your frontend files

Runing

  • Use npm ci to restore dependencies
  • Use npm start to run the app on thr browser
  • Use npm test to run the unit test suite
  • Use npm run test:cov to get code coverage insights
  • Use npm run test:watch to run all suites with code watcher enable

Preview

Code Coverage

App

Author

Explore related projects

Loading…