Skip to content

Commit

Permalink
fix(test runner): ensure all logs when using debug option (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
wellwelwel authored Mar 15, 2024
1 parent a710645 commit 42a1e5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/run-test-file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const runTestFile = (
const log = () => {
const outputs = removeConsecutiveRepeats(
showSuccess
? output.split(/(\r\n|\r|\n)/)
? [output]
: output.split(/(\r\n|\r|\n)/).filter((current) => {
if (current.includes('Exited with code')) return false;
return (
Expand Down

0 comments on commit 42a1e5e

Please sign in to comment.