react-typescript-jest-enzyme-testing icon indicating copy to clipboard operation
react-typescript-jest-enzyme-testing copied to clipboard

Update README.md

Open chrisbmar opened this issue 5 years ago • 1 comments

"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.

chrisbmar avatar Apr 24 '20 19:04 chrisbmar

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?

cedrickchee avatar Apr 26 '20 07:04 cedrickchee