cypress-image-diff icon indicating copy to clipboard operation
cypress-image-diff copied to clipboard

Getting "Unable to resolve path to module 'cypress-image-diff-js/command'" and similarly for 'cypress-image-diff-js/plugin

Open mmacarth opened this issue 7 months ago • 1 comments

I upgraded from v1 to v2 and changed the import paths as suggested. I'm able to successfully run cypress and generate screenshots but am getting an eslint and/or typescript error. See screenshot from commands.ts: image

I can remove the error by adding // eslint-disable-next-line import/no-unresolved but wonder if there's a cleaner method.

I get the same issue in cypress.config.ts for import getCompareSnapshotsPlugin' from cypress-image-diff-js/plugin'

I'm looking forward to use the new diff tool!

Thank you.

mmacarth avatar Jul 05 '24 22:07 mmacarth