https://github.com/wangxiaoyugg/jest-ts-demo
jest-ts-demo
https://github.com/wangxiaoyugg/jest-ts-demo
Last synced: 3 months ago
JSON representation
jest-ts-demo
- Host: GitHub
- URL: https://github.com/wangxiaoyugg/jest-ts-demo
- Owner: WangXiaoyugg
- Created: 2021-06-23T01:23:55.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-06-23T01:42:33.000Z (almost 4 years ago)
- Last Synced: 2025-01-27T16:48:17.535Z (4 months ago)
- Language: JavaScript
- Size: 40 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# jest-typescript-demo
使用 jest 测试 typescript 代码的 demo
1. 匹配器的使用
2. 异步函数
3. 模拟函数## jest 文档
[jest doc](https://doc.ebichu.cc/jest/docs/zh-Hans/configuration.html)