Skip to content

Update README.md #9

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update README.md #9

wants to merge 1 commit into from

Conversation

chrisbmar
Copy link

"setupTestFrameworkScriptFile" is now deprecated. It was replaced by "setupFilesAfterEnv" which supports multiple paths in an array.

Nice work on setting up Jest and Enzyme with Typescript and React! The README is very clear to follow.

"setupTestFrameworkScriptFile" is now deprecated. It was replaced by "setupFilesAfterEnv" which supports multiple paths in an array. 

Nice work on setting up Jest and Enzyme with Typescript and React! The README is very clear to follow.
@cedrickchee
Copy link
Owner

Hi @chrisbmar Thank you for your PR.

I'm using Jest version 23.6.0 and never received the deprecation message.

// package.json

"jest": "^23.4.2",

I tried replacing "setupTestFrameworkScriptFile" by "setupFilesAfterEnv" and encountered an error: "Unknown option "setupFilesAfterEnv" with value ...".

Jest config option "setupTestFrameworkScriptFile" was deprecated in version 24.0.0.

What is your Jest version?

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

Successfully merging this pull request may close these issues.

2 participants