import { defineConfig } from "cypress"; import {addMatchImageSnapshotPlugin} from '@simonsmith/cypress-image-snapshot/plugin' export default defineConfig({ e2e: { setupNodeEvents(on, config) { // implement node event listeners here addMatchImageSnapshotPlugin(on); }, specPattern: 'cypress/integration/**/*.js', baseUrl: 'http://localhost:8080', }, });