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
Cannot find module '@testing-library/jest-dom/matchers' #197
Cannot find module '@testing-library/jest-dom/matchers' #197
Comments
Indeed. It seems we messed up when switching to v5. It's not enough to put a |
Adding it to |
I wonder if, in addition to add it to |
I think they can be left as |
I created #200 to tackle this. Tried those changes locally in a playground repo that uses jest-dom by selectively importing custom matchers and extending |
🎉 This issue has been resolved in version 5.1.1 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
I am getting the error
Cannot find module '@testing-library/jest-dom/matchers' from 'selector.test.js'
are the docs correct it seems to work when I do
import {
toBeInTheDocument
} from '@testing-library/jest-dom
The text was updated successfully, but these errors were encountered: