没有合适的资源?快使用搜索试试~ 我知道了~
test-tools:即时将测试添加到您的VTEX IO应用程序中
共56个文件
js:15个
ts:12个
json:8个
需积分: 5 0 下载量 120 浏览量
2021-05-02
09:10:34
上传
评论
收藏 382KB ZIP 举报
温馨提示
VTEX测试工具 立即将测试添加到您的VTEX IO应用程序 :rocket: 目录 安装 yarn add -D @vtex/test-tools @apollo/react-testing@3 react-intl@3 用法 向您的react/package.json添加一个新脚本: { " name " : " my-io-app " , " scripts " : { " test " : " vtex-test-tools test " } } 将这些行添加到您的.vtexignore : react/**/__tests__/** react/**/__mocks__/** react/**/__snapshots__/** react/**/*.test.js react/**/*.test.ts react/**/*.test.tsx 在您的终端中运行: y
资源推荐
资源详情
资源评论
收起资源包目录
test-tools-master.zip (56个子文件)
test-tools-master
.gitignore 52B
.eslintrc 115B
package.json 3KB
src
cypress.tsx 592B
utils
json.ts 121B
react.tsx 3KB
modules
createJestConfig.js 968B
jest
setup.js 110B
fileTransform.js 407B
babelTransform.js 701B
paths.ts 423B
cypress
support
commands.ts 2KB
index.js 670B
utils
navigation.ts 2KB
fill.ts 469B
find.ts 246B
index.ts 1KB
assertion.ts 468B
cart.ts 568B
plugins
index.js 709B
bin
vtex-test-tools.js 611B
tsconfig.eslint.json 60B
CHANGELOG.md 3KB
tsconfig.json 283B
react.js 44B
.github
workflows
ci.yml 363B
.prettierignore 27B
examples
e2e
search
paginationState.test.js 1KB
navigation.test.js 295B
sideBar.test.js 2KB
searchBar.test.js 416B
orderBy.test.js 4KB
typescript
package.json 464B
index.test.tsx 270B
tsconfig.json 774B
README.md 363B
index.tsx 247B
yarn.lock 203KB
vscode
README.md 1KB
javascript
package.json 339B
index.jsx 205B
yarn.lock 252KB
index.test.jsx 249B
messages
en.json 38B
hooks
package.json 465B
useCustomHook.ts 213B
useCustomHook.test.ts 355B
yarn.lock 217KB
scripts
test.js 719B
README.md 6KB
.eslintignore 30B
react.d.ts 129B
cypress.js 46B
.gitattributes 12B
.prettierrc 23B
yarn.lock 276KB
共 56 条
- 1
资源评论
实话直说
- 粉丝: 38
- 资源: 4592
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功