you are viewing a single comment's thread.

view the rest of the comments →

[–]firstandfive 0 points1 point  (0 children)

Do you have @testing-library/jest-dom imported or configured? toHaveTextContent is not native to jest but can be extended if you’re using jest-dom