mirror of
https://github.com/maputnik/editor.git
synced 2026-02-10 06:30:00 +00:00
25 lines
582 B
TypeScript
25 lines
582 B
TypeScript
import { defineConfig } from "cypress";
|
|
import { createRequire } from "module";
|
|
const require = createRequire(import.meta.url);
|
|
|
|
export default defineConfig({
|
|
env: {
|
|
codeCoverage: {
|
|
exclude: "cypress/**/*.*",
|
|
},
|
|
},
|
|
e2e: {
|
|
setupNodeEvents(on, config) {
|
|
// implement node event listeners here
|
|
require("@cypress/code-coverage/task")(on, config);
|
|
require('cypress-terminal-report/src/installLogsPrinter')(on);
|
|
return config;
|
|
},
|
|
baseUrl: "http://localhost:8888",
|
|
retries: {
|
|
runMode: 2,
|
|
openMode: 0,
|
|
},
|
|
},
|
|
});
|