Skip to content
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 env not working in Jest 27 #1584

Open
bigfish opened this issue Feb 15, 2022 · 1 comment
Open

Jest env not working in Jest 27 #1584

bigfish opened this issue Feb 15, 2022 · 1 comment

Comments

@bigfish
Copy link

bigfish commented Feb 15, 2022

Tried @skatejs/ssr/jest as my testEnvironment in Jest 27. Get this when running tests:

Test environment found at "/Volumes/Code/clinical-frontend/node_modules/@skatejs/ssr/jest.js" does not export a "getVmContext" method, which is mandatory from Jest 27. This method is a replacement for "runScript".

@treshugart
Copy link
Member

Hey @bigfish, development on Skate has been dormant for awhile. If you can't work around this, I'd be happy to accept a PR and could release a new version for you. Is it possible to create your own environment extending this one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants