react-scripts-ts
react-scripts-ts copied to clipboard
Remove deprecated setupTestFrameworkScriptFile
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!
@jpavon ping :) I know you're probably super busy with other stuff, anything I can do to help move this along?