mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-19 23:39:50 +02:00
reverting the ES module fixes
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
import { defineConfig } from 'cypress';
|
import { defineConfig } from 'cypress';
|
||||||
import { addMatchImageSnapshotPlugin } from 'cypress-image-snapshot/plugin.js';
|
import { addMatchImageSnapshotPlugin } from 'cypress-image-snapshot/plugin';
|
||||||
import coverage from '@cypress/code-coverage/task';
|
import coverage from '@cypress/code-coverage/task';
|
||||||
import eyesPlugin from '@applitools/eyes-cypress';
|
import eyesPlugin from '@applitools/eyes-cypress';
|
||||||
export default eyesPlugin(
|
export default eyesPlugin(
|
||||||
|
@@ -24,7 +24,7 @@
|
|||||||
// -- This is will overwrite an existing command --
|
// -- This is will overwrite an existing command --
|
||||||
// Cypress.Commands.overwrite("visit", (originalFn, url, options) => { ... })
|
// Cypress.Commands.overwrite("visit", (originalFn, url, options) => { ... })
|
||||||
|
|
||||||
import { addMatchImageSnapshotCommand } from 'cypress-image-snapshot/command.js';
|
import { addMatchImageSnapshotCommand } from 'cypress-image-snapshot/command';
|
||||||
|
|
||||||
// The SSIM comparison method can be used if the pixelmatch is throwing lots of false positives.
|
// 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.
|
// SSIM actually does not catch minute changes in the image, so it is not as accurate as pixelmatch.
|
||||||
|
Reference in New Issue
Block a user