We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug The "full example" at https://testing-library.com/docs/react-testing-library/example-intro imports rest from msw, which is not exported by the latest version of msw (2.1.7).
rest
To Reproduce
npm i -D msw
Module '"msw"' has no exported member 'rest'.
Expected behavior No errors on the import {rest} from msw line
import {rest} from msw
Additional context I'm guessing the documentation was written when rest was a thing, now http appears to have replaced it.
http
The text was updated successfully, but these errors were encountered:
We're in the process of updating the example at #1327
Sorry, something went wrong.
Wonderful! Looking forward to it :)
No branches or pull requests
Describe the bug
The "full example" at https://testing-library.com/docs/react-testing-library/example-intro imports
rest
from msw, which is not exported by the latest version of msw (2.1.7).To Reproduce
npm i -D msw
Module '"msw"' has no exported member 'rest'.
errorExpected behavior
No errors on the
import {rest} from msw
lineAdditional context
I'm guessing the documentation was written when
rest
was a thing, nowhttp
appears to have replaced it.The text was updated successfully, but these errors were encountered: