-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
Jest 28 support #17
Comments
@kamil-cf were you able to figure this out / get this working? |
No, we don't use jest-chrome, but our internal mocks only for now. |
Hey all! I'd love to use this project as well, but we're on jest v29. I can't downgrade to jest v27 just to use this library, unfortunately. Any chance of getting this updated? |
Open
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We use Jest 28 in our project. When installing jest-chrome, we get the following error:
I tried to install with
--force
and it passed but then there is another issue.When I added
'./jest.setup.js'
as the last entry in mysetupFilesAfterEnv
and thejest.setup.js
file like that:and I run my tests, it logs an empty object instead of Chrome mock:
And tests fail. They expect chrome.storage API but it doesn't exist.
Am I doing something wrong or Jest 28 is not supported yet?
The text was updated successfully, but these errors were encountered: