Open iten74 opened 3 years ago
Try to run npm i @types/cypress-image-snapshot -D
Solved it for me. Thanks @ma-bourassa!
I also needed
/// <reference types="cypress-image-snapshot" />
@ma-bourassa, even I add the @types/cypress-image-snapshot
, there is same error. But if i add this:
///
Configured the plugin as outlined but cypress does not recognize it. The plugin works if I add @ts-ignore in front of the line cy.matchImageSnapshot();, but I'd rather be able to configure the framework correctly so cypress doesn't complain. Any idea?
index.js:
commands.js