Skip to content

Commit

Permalink
chore: introduce logging on tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thisislawatts committed Nov 18, 2024
1 parent 8956366 commit e16aa39
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 e16aa39

Please sign in to comment.