Skip to content

Commit

Permalink
test(cypress): Code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
avoinea committed Oct 25, 2022
1 parent 8f18012 commit 1046baf
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions cypress.config.js
Original file line number Diff line number Diff line change
@@ -1,24 +1,26 @@
const { defineConfig } = require("cypress");
const { defineConfig } = require('cypress');

module.exports = defineConfig({
viewportWidth: 1280,
defaultCommandTimeout: 8888,
chromeWebSecurity: false,
reporter: "junit",
reporter: 'junit',
video: true,
retries: {
runMode: 8,
openMode: 0,
},
reporterOptions: {
mochaFile: "cypress/reports/cypress-[hash].xml",
mochaFile: 'cypress/reports/cypress-[hash].xml',
jenkinsMode: true,
toConsole: true,
},
e2e: {
setupNodeEvents(on, config) {
// e2e testing node events setup code
require('@cypress/code-coverage/task')(on, config);
return config;
},
baseUrl: "http://localhost:3000",
baseUrl: 'http://localhost:3000',
},
});

0 comments on commit 1046baf

Please sign in to comment.