Skip to content

Commit

Permalink
temp: cat and node -v
Browse files Browse the repository at this point in the history
  • Loading branch information
Vylpes committed Jun 14, 2024
1 parent cbd2003 commit ea595b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/cli.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ describe('query-metadata', () => {

function cli(args: string[], cwd: string): Promise<cliResult> {
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(' ')}`,
Expand Down

0 comments on commit ea595b5

Please sign in to comment.