Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Commit

Permalink
test(integration): only send logs to stdout on debug runs
Browse files Browse the repository at this point in the history
  • Loading branch information
10xLaCroixDrinker committed Apr 1, 2024
1 parent 2d87f5f commit c499157
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions __tests__/integration/helpers/testRunner.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,9 @@ const setUpTestRunner = async ({
logWatcherDuplex.on('close', () => tail.kill());
}));

// uncomment this line in order to view full logs for debugging
logWatcherDuplex.pipe(process.stdout);
if (process.env.RUNNER_DEBUG) {
logWatcherDuplex.pipe(process.stdout);
}

try {
await Promise.all([
Expand Down

0 comments on commit c499157

Please sign in to comment.