Skip to content

Commit 4ccb3e4

Browse files
reverting the ES module fixes
1 parent a37f89d commit 4ccb3e4

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

cypress.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { defineConfig } from 'cypress';
2-
import { addMatchImageSnapshotPlugin } from 'cypress-image-snapshot/plugin.js';
2+
import { addMatchImageSnapshotPlugin } from 'cypress-image-snapshot/plugin';
33
import coverage from '@cypress/code-coverage/task';
44
import eyesPlugin from '@applitools/eyes-cypress';
55
export default eyesPlugin(

cypress/support/commands.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
// -- This is will overwrite an existing command --
2525
// Cypress.Commands.overwrite("visit", (originalFn, url, options) => { ... })
2626

27-
import { addMatchImageSnapshotCommand } from 'cypress-image-snapshot/command.js';
27+
import { addMatchImageSnapshotCommand } from 'cypress-image-snapshot/command';
2828

2929
// The SSIM comparison method can be used if the pixelmatch is throwing lots of false positives.
3030
// SSIM actually does not catch minute changes in the image, so it is not as accurate as pixelmatch.

0 commit comments

Comments
 (0)