bound 内置一个简单的单元测试,开发者可以自行扩展,通过以下命令运行测试,获取测试覆盖率。
npm run testnpm run test:cov
npm run test
npm run test:cov
扩展单元测试,请参考 这个文档。
若有收获,就点个赞吧
0 人点赞
让时间为你证明