enzymejs / enzyme-matchers

Jasmine/Jest assertions for enzyme
MIT License
892 stars 116 forks source link

Replace setupTestFrameworkScriptFile with setupFilesAfterEnv in jest-environment-enzyme README.md #313

Closed vkrol closed 4 years ago

vkrol commented 4 years ago

setupTestFrameworkScriptFile was deprecated in favor of 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?

blainekasten commented 4 years ago

Great! What do you think about updating jest in the repo and implementing this change to verify that it all works correctly still?

vkrol commented 4 years ago

I fully support that idea, and I'm happy to do so. Can we do this in a separate PR?