Self-service
Describe the bug
After I install yarn canary build (3.2.0-rc.15), I got infinity loop when I started jest.
Moved back to 3.1.1 and now everything right
Monorepo have package with "type: module"
and I use pnpEnableEsmLoader: true
For fixed it I used additional flags in jest: "jest --runInBand --detectOpenHandles --forceExit"
To reproduce
You need have jest and yarn berry, mb workspaces with cjs and esm packages
install yarn canary build - "yarn set version canary" (3.2.0-rc.15)
try to use jest
Environment
System:
OS: macOS 12.1
CPU: (10) arm64 Apple M1 Pro
Binaries:
Node: 14.19.0 - /private/var/folders/73/zstsh7455c9fjsv3t1g9_4vm0000gn/T/xfs-a4b22e0c/node
Yarn: 3.2.0-rc.15 - /private/var/folders/73/zstsh7455c9fjsv3t1g9_4vm0000gn/T/xfs-a4b22e0c/yarn
npm: 6.14.16 - /opt/homebrew/bin/npm
Additional context

Self-service
Describe the bug
After I install yarn canary build (3.2.0-rc.15), I got infinity loop when I started jest.
Moved back to 3.1.1 and now everything right
Monorepo have package with "type: module"
and I use pnpEnableEsmLoader: true
For fixed it I used additional flags in jest: "jest --runInBand --detectOpenHandles --forceExit"
To reproduce
You need have jest and yarn berry, mb workspaces with cjs and esm packages
install yarn canary build - "yarn set version canary" (3.2.0-rc.15)
try to use jest
Environment
System: OS: macOS 12.1 CPU: (10) arm64 Apple M1 Pro Binaries: Node: 14.19.0 - /private/var/folders/73/zstsh7455c9fjsv3t1g9_4vm0000gn/T/xfs-a4b22e0c/node Yarn: 3.2.0-rc.15 - /private/var/folders/73/zstsh7455c9fjsv3t1g9_4vm0000gn/T/xfs-a4b22e0c/yarn npm: 6.14.16 - /opt/homebrew/bin/npmAdditional context