You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previously directly referencing '@testing-library/jest-dom' in the setupFilesAfterEnv list worked just fine. After 6.0.0 it is necessary to create a separate file that has the import '@testing-library/jest-dom' line in it.
Suggested solution:
Sorry, I don't know enough about how these mechanisms work to suggest a fix.
nchevsky, valleywood, Segebre, williamhaley and rayjasson98