react-testing-library
react-testing-library copied to clipboard
test: Run with relevant React stable types
This has no effect right now since latest and 18.x point at the same version.
Once React 19 is out, we'll be running tests in both 18 and 19.
The types should match that dimension.
Ideally, we'd be able to test RC types but npm claims npm install @types/react@npm:types-react@rc is an invalid comparator.
Putting that in the package.json works but I'm too lazy to write a dedicated script right now.
This pull request is automatically built and testable in CodeSandbox.
To see build info of the built libraries, click here or the icon next to each commit SHA.
Latest deployment of this branch, based on commit d9557108f1f835b8daf27dcc6a685a919a4afb6a:
| Sandbox | Source |
|---|---|
| react-testing-library-examples | Configuration |