-
由 Paul Slaughter 创作于
- This will help us use workerIdleMemoryLimit - https://gitlab.com/gitlab-org/gitlab/-/merge_requests/150196#note_1873162716 - Update snapshots with `yarn jest -u` - Patch jest-mock to fix issues introduced with [this change][1]. See also [this note][2]. - We have to unset prettierPath because jest29 doesn't work with prettier 3. This should be fixed in jest30. See [this relevant issue][3]. - We have to fix nwsapi because there's a bug that fails on certain query selectors. See [this upstream issue][4]. - We have to fix problematic `expect.objectContaining(null)` references which now throws an error. - We're running into some overflow issues with recursive objects in `toMatchObject`. We need to update these references to `toEqual`. This looks like a known [Jest issue][5]. - Run dedupe on yarn.lock [1]: https://github.com/jestjs/jest/pull/13503 [2]: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/151046#note_1986543058 [3]: https://jestjs.io/docs/configuration/#prettierpath-string [4]: https://github.com/dperini/nwsapi/issues/114 [5]: https://github.com/jestjs/jest/issues/14734
由 Paul Slaughter 创作于- This will help us use workerIdleMemoryLimit - https://gitlab.com/gitlab-org/gitlab/-/merge_requests/150196#note_1873162716 - Update snapshots with `yarn jest -u` - Patch jest-mock to fix issues introduced with [this change][1]. See also [this note][2]. - We have to unset prettierPath because jest29 doesn't work with prettier 3. This should be fixed in jest30. See [this relevant issue][3]. - We have to fix nwsapi because there's a bug that fails on certain query selectors. See [this upstream issue][4]. - We have to fix problematic `expect.objectContaining(null)` references which now throws an error. - We're running into some overflow issues with recursive objects in `toMatchObject`. We need to update these references to `toEqual`. This looks like a known [Jest issue][5]. - Run dedupe on yarn.lock [1]: https://github.com/jestjs/jest/pull/13503 [2]: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/151046#note_1986543058 [3]: https://jestjs.io/docs/configuration/#prettierpath-string [4]: https://github.com/dperini/nwsapi/issues/114 [5]: https://github.com/jestjs/jest/issues/14734
代码所有者
将用户和群组指定为特定文件更改的核准人。 了解更多。