From a37f89d4ebcac71bd66110c46fff604ceb87f516 Mon Sep 17 00:00:00 2001 From: shubhamparikh2704 Date: Tue, 19 Aug 2025 14:39:17 +0530 Subject: [PATCH] chore: fixed the ES module resolution issue --- cypress/support/commands.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/support/commands.js b/cypress/support/commands.js index 6fc1fe17d..b2ee81722 100644 --- a/cypress/support/commands.js +++ b/cypress/support/commands.js @@ -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.