-
由 Winnie Hellmann 创作于
**Why?** This removes the need to add `jest.clearAllMocks` manually. Without this, it's possible for tests to have false positives because the `mock.calls` is never reset. **References:** - https://jestjs.io/docs/en/configuration#clearmocks-boolean - https://gitlab.com/gitlab-org/gitlab/merge_requests/21860
由 Winnie Hellmann 创作于**Why?** This removes the need to add `jest.clearAllMocks` manually. Without this, it's possible for tests to have false positives because the `mock.calls` is never reset. **References:** - https://jestjs.io/docs/en/configuration#clearmocks-boolean - https://gitlab.com/gitlab-org/gitlab/merge_requests/21860
代码所有者
将用户和群组指定为特定文件更改的核准人。 了解更多。