Skip to content

Commit

Permalink
Only configure multi reporters if required
Browse files Browse the repository at this point in the history
  • Loading branch information
mhan83 committed Jul 16, 2024
1 parent 9f85d83 commit 5714459
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/cypress-runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,9 @@ function getCypressOpts(
opts.key = runCfg.cypress.key;
}

opts = configureReporters(runCfg, opts);
if (runCfg.cypress.reporters) {
opts = configureReporters(runCfg, opts);
}
configureWebkitOptions(process.env, opts, suite);

return opts as CypressCommandLine.CypressRunOptions;
Expand Down

0 comments on commit 5714459

Please sign in to comment.