snapshot/cypress.config.js

15 lines
278 B
JavaScript
Raw Normal View History

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