Skip to content
项目

ErickWendel/tdd-frontend-example

在 GitHub 查看

关于

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

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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

探索相关项目

加载中…