FRSOURCE/cypress-plugin-visual-regression-diff

View on GitHub
examples/webpack/cypress.config.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { defineConfig } from "cypress";
import { initPlugin } from "@frsource/cypress-plugin-visual-regression-diff/plugins";

module.exports = defineConfig({
  video: false,
  e2e: {
    setupNodeEvents(on, config) {
      initPlugin(on, config);
    },
    specPattern: "cypress/e2e/**/*.cy.{js,jsx,ts,tsx}",
  },

  component: {
    setupNodeEvents(on, config) {
      initPlugin(on, config);
    },
    devServer: {
      framework: "vue-cli",
      bundler: "webpack",
    },
  },
});