You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The result is the same when running yarn set version 3.2.1 && yarn && yarn test and yarn set version 3.2.0 && yarn && yarn test. But when going to 3.1.1, it suddenly works:
$ yarn set version 3.1.1 && yarn && yarn test
...
PASS ./foo.test.js
✓ should return latest for builds on main (2 ms)
Test Suites: 1 passed, 1 total
Tests: 1 passed, 1 total
Snapshots: 0 total
Time: 0.331 s, estimated 1 s
Ran all test suites.
Self-service
Describe the bug
Yarn 3.2.0, 3.2.1 and 3.2.2 cannot run 'jest' via 'yarn run' (it hangs forever), but 3.1.1 can - see https://github.com/alubbe/yarn-jest-bug
To reproduce
Clone https://github.com/alubbe/yarn-jest-bug. This will give you a simple repo with a single, simple jest test. Run
The result is the same when running
yarn set version 3.2.1 && yarn && yarn test
andyarn set version 3.2.0 && yarn && yarn test
. But when going to 3.1.1, it suddenly works:Environment
System: OS: macOS 12.4 CPU: (16) x64 Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz Binaries: Node: 16.13.2 - /private/var/folders/r8/nb6t8b8n2fx9fc9lcbkb52lw0000gn/T/xfs-2c0e91ab/node Yarn: 3.2.2 - /private/var/folders/r8/nb6t8b8n2fx9fc9lcbkb52lw0000gn/T/xfs-2c0e91ab/yarn npm: 8.1.2 - ~/.nvm/versions/node/v16.13.2/bin/npm
Additional context
No response
The text was updated successfully, but these errors were encountered: