Files
portfolio/cypress.config.ts
2024-10-11 15:26:33 +02:00

14 lines
386 B
TypeScript

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',
},
});