cicd 源码
nextjs-开玩笑的打字稿 一个非常简单的基于Jest测试的基于Next.js的网站示例,全部使用TypeScript编写。 安装 $ yarn install 测试 $ yarn test yarn run v1.12.3 $ jest PASS __tests__/index.test.tsx With Enzyme √ App shows " A simple example repo " in a tag (11ms) Test Suites: 1 passed, 1 total Tests: 1 passed, 1 total Snapshots: 0 total Time: 4.266s Ran all test suites. Done in 5.90s. 代码 jest.config.js :使用ts-jest测试
下载地址
用户评论