Closed
Description
@testing-library/react
version:10.0.0
react
version:16.13.0
node
version:12.13.0
npm
(oryarn
) version:1.21.1
Relevant code or config:
import { waitFor } from '@testing-library/react';
What happened:
I get a typescript error:
@types/testing-library__react"' has no exported member 'waitFor'.ts(2305)
Reproduction:
I have @testing-library/react@^10.0.0
and @types/testing-library__react@^9.1.3
installed. I believe each is the latest version.
My current workaround is to add // @ts-nocheck
to get my test with waitFor()
to pass.
Metadata
Metadata
Assignees
Labels
No labels