Skip to content

Commit

Permalink
Merge pull request #5584 from snyk/chore/introduce-logging-on-tests
Browse files Browse the repository at this point in the history
chore: introduce logging on tests
  • Loading branch information
thisislawatts authored Nov 19, 2024
2 parents ca5be91 + b1c5271 commit d84f69d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/jest/util/runSnykCLI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ const runSnykCLIWithArray = async (
if (process.env.TEST_SNYK_COMMAND) {
return await runCommand(process.env.TEST_SNYK_COMMAND, args, options);
}
console.log(
`No Binary configured with TEST_SNYK_COMMAND, falling back to node`,
);
return await runCommand('node', [CLI_BIN_PATH, ...args], options);
};

Expand Down

0 comments on commit d84f69d

Please sign in to comment.