Skip to content

Commit

Permalink
fix: improve cypress fail checking
Browse files Browse the repository at this point in the history
  • Loading branch information
sampullman committed Mar 14, 2023
1 parent cac354a commit 9e75e19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vue3-vite/src/executors/cypress/executor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ async function runCypress(baseUrl: string, opts: CypressExecutorOptions) {
logger.info(
`Cypress completed with status: ${result.status}${message} failed=${failures}`
);
return success;
return success && failures <= 0;
} else {
await Cypress.open(options);
return true;
Expand Down

0 comments on commit 9e75e19

Please sign in to comment.