-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to run jest after 26 to 27 version bump with Yarn 3's PnP #11452
Comments
Maybe this can help you: packageExtensions:
jest-util@*:
dependencies:
jest-runner: '*'
jest-circus@*:
dependencies:
slash: '*' But it creates a different problem
|
You'll need to force it to be The |
@SimenB Thanks for the quick response and fix!! |
Please give |
I checked and the problem related to dependencies is fixed. But now i am getting a different error but i am not sure if i have something wrong in the configuration (with versions 26.* i didn't have to configure nothing)
Here is my module.exports = {
moduleFileExtensions: ['js', 'ts', 'tsx'],
roots: ['<rootDir>/tests'],
testMatch: ['**/__tests__/**/*.+(ts|tsx|js)', '**/?(*.)+(spec|test).+(ts|tsx|js)'],
testEnvironment: 'jsdom',
transform: {
'^.+\\.tsx?$': [
'esbuild-jest',
{
sourcemap: true,
loaders: {
'.spec.ts': 'tsx'
}
}
]
}
}; Am i doing something wrong? do i have to add something to With |
Ah no, that's a regression, I'll fix it. (to work around it, you can install |
wonderful, thanks! |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
🐛 Bug Report
After adding
to my
.yarnrc.yml
, now it looks likejest-circus
is blowing up when trying to accessslash
in node_modules.To Reproduce
Steps to reproduce the behavior:
Expected behavior
jest-circus
should be able to resolve its dependencies successfully with Yarn 3's PnP.Link to repl or repo (highly encouraged)
envinfo
The text was updated successfully, but these errors were encountered: