feat: add git cheatsheet.

This commit is contained in:
jaywcjlove
2022-09-28 00:52:28 +08:00
parent 69f536eb33
commit 3cf40a13de
4 changed files with 556 additions and 1 deletions

View File

@ -678,4 +678,10 @@ test('第二个文本', () => {
})
```
Node.js 和 Jest 会缓存你需要的模块。 要测试具有副作用的模块,您需要在测试之间重置模块注册表
Node.js 和 Jest 会缓存你需要的模块。 要测试具有副作用的模块,您需要在测试之间重置模块注册表
另见
----
- [Jest cheat sheet](https://github.com/sapegin/jest-cheat-sheet) _(github.com)_