Version
29.4.0
Steps to reproduce
Expected behavior
Should pass the tests. 29.3.1 doesn't have this problem.
Actual behavior
See error log of CI https://github.com/thymikee/jest-preset-angular/actions/runs/4013381682/jobs/6892664896
Additional context
The error log pointed to at Runtime._createJestObjectFor (../../node_modules/jest-runtime/build/index.js:2099:64) which is this line https://github.com/facebook/jest/blob/be021fa8b722f1d367833e8f48bbb08e6e3dd687/packages/jest-runtime/src/index.ts#L2322
Environment
System:
OS: macOS 13.1
CPU: (8) arm64 Apple M1
Binaries:
Node: 16.19.0 - /opt/homebrew/bin/node
Yarn: 3.2.3 - /opt/homebrew/bin/yarn
npm: 8.19.3 - /opt/homebrew/bin/npm
npmPackages:
jest: ^29.4.0 => 29.4.0