snapshot/cypress.config.js

13 lines
277 B
JavaScript

const { defineConfig } = require("cypress");
const { functions } = require("./src/utils");
module.exports = defineConfig({
snapshot: {
snapshotPath: "cypress/snapshots/",
},
e2e: {
setupNodeEvents(on, config) {
functions.tasks(on, config);
},
},
});