chore: fixed the ES module resolution issue

This commit is contained in:
shubhamparikh2704
2025-08-19 14:39:17 +05:30
parent f8c8c9870d
commit a37f89d4eb

View File

@@ -24,7 +24,7 @@
// -- This is will overwrite an existing command --
// Cypress.Commands.overwrite("visit", (originalFn, url, options) => { ... })
import { addMatchImageSnapshotCommand } from 'cypress-image-snapshot/command';
import { addMatchImageSnapshotCommand } from 'cypress-image-snapshot/command.js';
// The SSIM comparison method can be used if the pixelmatch is throwing lots of false positives.
// SSIM actually does not catch minute changes in the image, so it is not as accurate as pixelmatch.