From e16aa39ea9f2d8b21f98751e0ed3887ab266f9f9 Mon Sep 17 00:00:00 2001 From: Luke Watts Date: Mon, 18 Nov 2024 14:13:48 +0100 Subject: [PATCH] chore: introduce logging on tests --- test/jest/util/runSnykCLI.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/jest/util/runSnykCLI.ts b/test/jest/util/runSnykCLI.ts index 4a262b6bab..88eccb3cee 100644 --- a/test/jest/util/runSnykCLI.ts +++ b/test/jest/util/runSnykCLI.ts @@ -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); };