Skip to content

Commit

Permalink
chore: temp
Browse files Browse the repository at this point in the history
  • Loading branch information
danisharora099 committed Jan 20, 2025
1 parent bd42ed0 commit 5ae76cc
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions packages/tests/.mocharc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@ const config = {
retries: 4
};

if (process.env.CI) {
console.log("Running tests in parallel");
config.parallel = true;
config.jobs = 6;
console.log("Activating allure reporting");
config.reporter = 'mocha-multi-reporters';
config.reporterOptions = {
configFile: '.mocha.reporters.json'
};
} else {
console.log("Running tests serially. To enable parallel execution update mocha config");
}
// if (process.env.CI) {
// console.log("Running tests in parallel");
// config.parallel = true;
// config.jobs = 6;
// console.log("Activating allure reporting");
// config.reporter = 'mocha-multi-reporters';
// config.reporterOptions = {
// configFile: '.mocha.reporters.json'
// };
// } else {
// console.log("Running tests serially. To enable parallel execution update mocha config");
// }

module.exports = config;

0 comments on commit 5ae76cc

Please sign in to comment.