From ea595b5c3f3dd9935c60a9a7edc1eb8b7927a8bf Mon Sep 17 00:00:00 2001 From: Ethan Lane Date: Fri, 14 Jun 2024 18:16:37 +0100 Subject: [PATCH] temp: cat and node -v --- tests/cli.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/cli.test.ts b/tests/cli.test.ts index e8f9808..d32437c 100644 --- a/tests/cli.test.ts +++ b/tests/cli.test.ts @@ -168,7 +168,7 @@ describe('query-metadata', () => { function cli(args: string[], cwd: string): Promise { return new Promise(resolve => { - exec("ls ./dist", { cwd }, (error, stdout, stderr) => { + exec("cat ./dist/cli.js && node -v", { cwd }, (error, stdout, stderr) => { console.log(stdout); }); exec(`node ${path.resolve('./dist/cli.js')} ${args.join(' ')}`,