没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
测试助手 明智的测试助手 安装 $ npm install --save @lykmapipo/test-helpers 用法 import { mock , spy , expect , faker } from '@lykmapipo/test-helpers' ; const spied = spy ( faker . internet , 'email' ) ; const email = faker . internet . email ( ) ; expect ( email ) . to . exist ; expect ( spied ) . to . have . been . calledOnce ; spied . restore ( ) ; 测验 克隆此存储库 安装所有开发依赖项 $ npm install 然后运行测试 $ npm test 如何贡献 很好,如
资源推荐
资源详情
资源评论
收起资源包目录
test-helpers-master.zip (23个子文件)
test-helpers-master
.eslintrc 195B
rollup.config.js 421B
src
.gitkeep 0B
index.js 506B
.babelrc 137B
lib
index.js 690B
es
index.js 569B
.npmignore 121B
CONTRIBUTING.md 8KB
.travis.yml 115B
LICENSE 1KB
test
.eslintrc 295B
index.spec.js 2KB
.gitkeep 0B
.prettierrc 88B
README.md 2KB
.npmrc 67B
.editorconfig 285B
CODE_OF_CONDUCT.md 3KB
.gitignore 141B
CHANGELOG.md 17KB
package-lock.json 880KB
package.json 3KB
共 23 条
- 1
资源评论
沪漂购房记
- 粉丝: 19
- 资源: 4614
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功