xgqfrms™, xgqfrms® : xgqfrms's offical website of cnblogs! xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

TDD & Unit testing

TDD & Unit testing

TDD

jest

https://github.com/facebook/jest

https://facebook.github.io/jest/zh-Hans/

# jest
$ yarn add -D jest

# babel
$ yarn add -D babel-jest @babel/core @babel/preset-env babel-plugin-dynamic-import-node

refs

https://eggjs.org/zh-cn/core/unittest.html

https://github.com/power-assert-js/power-assert



©xgqfrms 2012-2020

www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!


posted @ 2020-04-07 22:53  xgqfrms  阅读(157)  评论(1编辑  收藏  举报