Quantcast
Channel: Property 'toMatchSnapshot' does not exist on type 'Assertion' - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by Live bug help - www.dialect.so for Property 'toMatchSnapshot' does...

It looks like you have cypress installed, which seems to be conflicting with Jest's types. See Cypress causing type errors in jest assertions

View Article



Property 'toMatchSnapshot' does not exist on type 'Assertion'

I am using CRA to build a web app that also uses Typescript, and Jest for (snapshot) testing. I am randomly now getting the error Property 'toMatchSnapshot' does not exist on type 'Assertion'. across...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images