You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey there 👋After upgrading to Jest 24, I've explored that both setupFilesAfterEnv and setupTestFrameworkScriptFile are ignored then defined in a preset. jest --showConfig is not showing them either. Other properties like setupFiles works as expected.
To Reproduce
Using a preset, add setupFilesAfterEnv property to it.
Expected behavior
Jest reads both setupFilesAfterEnv and setupTestFrameworkScriptFile from a preset.
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.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.
🐛 Bug Report
Hey there 👋After upgrading to Jest 24, I've explored that both
setupFilesAfterEnv
andsetupTestFrameworkScriptFile
are ignored then defined in a preset.jest --showConfig
is not showing them either. Other properties likesetupFiles
works as expected.To Reproduce
Using a preset, add
setupFilesAfterEnv
property to it.Expected behavior
Jest reads both
setupFilesAfterEnv
andsetupTestFrameworkScriptFile
from a preset.Link to repl or repo (highly encouraged)
https://github.com/sbekrin/jest-24-setup-files-after-env-bug
Run
npx envinfo --preset jest
Paste the results here:
The text was updated successfully, but these errors were encountered: