没有合适的资源?快使用搜索试试~ 我知道了~
jest-each-improved-types:使用打字稿4.1中的递归条件类型来改进表驱动的每次玩笑测试的类型
共13个文件
yml:3个
json:3个
ts:3个
需积分: 5 0 下载量 66 浏览量
2021-03-19
00:49:02
上传
评论
收藏 74KB ZIP 举报
温馨提示
笑话每个改进的类型 使用打字稿4.1中的递归条件类型来改进表驱动的笑话每次测试的类型。 安装 npm install -D @wistudent/jest-each-improved-types 将其添加到您的tsconfig.json { " files " : [ " node_modules/@wistudent/jest-each-improved-types/index.d.ts " ] } 用法 type Variables = [ [ 'note' , string ] , [ 'given' , string ] , [ 'expected' , boolean ] ] test . each < Variables> ` note | given | expected ${ 'true' } | ${ 'ok' }
资源推荐
资源详情
资源评论
收起资源包目录
jest-each-improved-types-master.zip (13个子文件)
jest-each-improved-types-master
.gitignore 13B
package.json 877B
example.test.ts 339B
package-lock.json 432KB
jest.config.js 6KB
tsconfig.json 6KB
.github
workflows
build-test-publish-on-version-tag copy.yml 515B
build-and-test-on-push.yml 337B
dependabot.yml 112B
README.md 803B
index.test.ts 1KB
babel.config.js 127B
index.d.ts 1KB
共 13 条
- 1
资源评论
DaleDai
- 粉丝: 16
- 资源: 4724
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功