-
Notifications
You must be signed in to change notification settings - Fork 75
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
Support Jest 28 #796
Labels
enhancement
New feature or request
Comments
Closed
mmichaelis
added a commit
to CoreMedia/ckeditor-plugins
that referenced
this issue
May 16, 2022
Tried to update Jest Playwright to Jest 28 but failed due to playwright-community/jest-playwright#796. Instead of updating to Jest 28, rolled back to Jest 27 for Playwright tests for now. Commit also contains an update to Jest 28.1.0, which was one of the trials to possibly get rid of the issue.
mmichaelis
added a commit
to CoreMedia/ckeditor-plugins
that referenced
this issue
May 19, 2022
Also keeping reference to `babel-jest` for version 27 as a left-over from previous results to debug failed module-resolution because of typo in tsconfig.json. It seems to make sense, to keep this in sync with "rolled back to Jest 27" to work around playwright-community/jest-playwright#796
This was referenced May 25, 2022
Merged
mmichaelis
added a commit
to CoreMedia/ckeditor-plugins
that referenced
this issue
Jun 3, 2022
While originally only stayed for Jest Playwright tests at 27.5.1 because of playwright-community/jest-playwright#796, it seems, that pnpm (tested for version 7) fails (sometimes) to get dependencies straight, when two different versions of a package are in use. We observed (on Windows, sometimes also on Linux), that mixing Jest 28.x and 27.x in workspace sometimes caused Jest 28.x to have transitive dependencies resolved to incompatible Jest 27.x (like Jest 28.x with incompatible @jest/core 27.x) and vice versa. Downgrading to 27.5.1 also means, that we are again affected by facebook/jest/issues#9771 (resolved for 28.x only), so that we need to reintroduce the enhanced-resolve workaround for all packages again (previously only active for Jest Playwright tests in `itest/`.
this issue still occurs with latest version v3.0.1 and latest jest v29.4.2, to fix it I went all the way back to playwright-community/jest-playwright#d7dd2fc7c348474d065526e696b922139fe5971c |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
After upgrade to Jest 28 I get:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
That jest-playwright support Jest 28 and that it does not fail.
Screenshots
Not applicable.
Desktop (please complete the following information):
Jest configuration (Either in the package.json > jest or in the
jest.config.js
):Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: