Skip to content

Commit

Permalink
Merge branch 'main' into kg-tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
kevgo committed Feb 21, 2025
2 parents ba7feec + 15b537f commit 2797ee8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion shared/cucumber-steps/src/helpers/execute-cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ export async function executeCLI(
const runResult = (await runner.waitForEnd()) as observableProcess.FinishedProcess
if (runResult.exitCode && !expectError) {
// unexpected failure
console.log(runner.output.fullText())
console.log("UNEXPECTED TEST FAILURE\n")
console.log("OUTPUT START")
console.log(runner.output.fullText());
console.log("OUTPUT END")
throw new Error(`Expected success but got exit code: ${runResult.exitCode}`)
}
if (expectError && !runResult.exitCode) {
Expand Down

0 comments on commit 2797ee8

Please sign in to comment.