-
-
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
allow "testEnvironment" to work together with transform/presets #8479
Comments
Is there any plan to support this? |
This would address the needs of #2235 which is a real pain point |
Sure, PR welcome 🙂 |
Go for it! And yeah, that sounds like the correct way of doing it 🙂 |
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
I think this is similar to #5164. In my jest config I have a custom "testEnvironment" that's written in typescript that I want transformed by ts-jest.
To Reproduce
Sample jest config:
globalSetup
andglobalTeardown
does work, buttestEnvironment
doesn't:Expected behavior
the testEnvironment file is transformed.
Link to repl or repo (highly encouraged)
Please provide either a repl.it demo or a minimal repository on GitHub.
Issues without a reproduction link are likely to stall.
Run
npx envinfo --preset jest
Paste the results here:
The text was updated successfully, but these errors were encountered: