Some checks failed
Test Environment Setup / setup-test-environment (push) Has been cancelled
13 lines
334 B
JavaScript
13 lines
334 B
JavaScript
const { defineConfig } = require("cypress");
|
|
const setupAnalyticsPlugin = require("./src/index");
|
|
|
|
module.exports = defineConfig({
|
|
historyTrackerURL: "http://localhost:3001",
|
|
e2e: {
|
|
setupNodeEvents(on, config) {
|
|
// Set up the analytics plugin
|
|
setupAnalyticsPlugin(on, config);
|
|
return config;
|
|
},
|
|
},
|
|
});
|