没有合适的资源?快使用搜索试试~ 我知道了~
jest-theories:与Jest一起使用的理论库
共8个文件
json:2个
licence:1个
js:1个
需积分: 5 0 下载量 17 浏览量
2021-04-27
21:17:38
上传
评论
收藏 17KB ZIP 举报
温馨提示
玩笑理论 使用不同的输入运行一个测试代码,以最大程度地减少复制,并最大程度地简化测试创建。 更多测试意味着更好的覆盖范围。 安装 npm install jest-theories 例子 import theoretically from 'jest-theories'; describe('NumberToLongString', () => { const theories = [ {input: 100, expected: 'One hundred'}, {input: 1000, expected: 'One thousand'}, {input: 10000, expected: 'Ten thousand'}, {input: 100000, expected: 'One hundred thousand
资源推荐
资源详情
资源评论
收起资源包目录
jest-theories-master.zip (8个子文件)
jest-theories-master
index.js 1KB
package.json 594B
LICENCE 1KB
Readme.md 2KB
package-lock.json 71KB
.npmignore 12B
index.d.ts 679B
.gitignore 18B
共 8 条
- 1
资源评论
咣荀
- 粉丝: 23
- 资源: 4625
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功