react-scripts-ts icon indicating copy to clipboard operation
react-scripts-ts copied to clipboard

Remove deprecated setupTestFrameworkScriptFile

Open nickjs opened this issue 6 years ago • 1 comments

Hi Julio,

Hopefully a pretty quick change. Jest 24 has deprecated setupTestFrameworkScriptFile in favor of setupFilesAfterEnv, which takes an array. For now, this PR just simply returns the single item array or undefined. A potential future change would be to append anything from the user's package.json jest setupFilesAfterEnv config into the array.

@edpark11 and I tested this in our app and it's working well. Please let me know if there's any additional testing I can do to make your life easier.

Thanks!

nickjs avatar Oct 01 '19 16:10 nickjs

@jpavon ping :) I know you're probably super busy with other stuff, anything I can do to help move this along?

nickjs avatar Oct 31 '19 15:10 nickjs