-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update testing-library packages for cra-template #8699
Comments
In order to update the dependencies, the templates needs Node 10+. create-react-app/packages/cra-template/package.json Lines 17 to 19 in d2f813f
create-react-app/packages/cra-template-typescript/package.json Lines 18 to 20 in d2f813f
|
Ah yeah, it would be great if we drop node 8 so we can upgrade jest as well :) |
Jest upgrade is happening in #8362 |
@ianschmitz Not all of this is done, so this one should be re-opened I think 🙂 |
We won't drop Node 8 until v4, and will review/update all packages at that time. |
Sounds reasonable 👍 |
Describe the bug
The following package.json files need dependencies updated:
And the template code should be changed to use
screen
:https://github.com/facebook/create-react-app/blob/8a1ee2f7a531d83cb76cc882d1e346c5cdd55f56/packages/cra-template-typescript/template/src/App.test.tsx
And the same treatment for this one:
https://github.com/facebook/create-react-app/blob/2de57fe15a69a84fadb08ce549599c7de5a9d3b2/packages/cra-template/template/src/App.test.js
I think the rest of the template is irrelevant.
The text was updated successfully, but these errors were encountered: