cypress-image-diff
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
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
:
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.