react-testing-library icon indicating copy to clipboard operation
react-testing-library copied to clipboard

test: Run with relevant React stable types

Open eps1lon opened this issue 1 year ago • 1 comments

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.

eps1lon avatar Aug 28 '24 13:08 eps1lon

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

codesandbox-ci[bot] avatar Aug 28 '24 13:08 codesandbox-ci[bot]