Closed vkrol closed 4 years ago
setupTestFrameworkScriptFile was deprecated in favor of setupFilesAfterEnv.
setupTestFrameworkScriptFile
setupFilesAfterEnv
Note: setupTestFrameworkScriptFile is deprecated in favor of setupFilesAfterEnv.
https://jestjs.io/docs/en/configuration#setupfilesafterenv-array
https://github.com/FormidableLabs/enzyme-matchers/pull/312#issuecomment-537770203
I'm curious, do we need to change anything for jest-environment-enzyme then?
Great! What do you think about updating jest in the repo and implementing this change to verify that it all works correctly still?
I fully support that idea, and I'm happy to do so. Can we do this in a separate PR?
setupTestFrameworkScriptFile
was deprecated in favor ofsetupFilesAfterEnv
.https://jestjs.io/docs/en/configuration#setupfilesafterenv-array
https://github.com/FormidableLabs/enzyme-matchers/pull/312#issuecomment-537770203