Skip to content

Commit

Permalink
Add temporary debug test
Browse files Browse the repository at this point in the history
  • Loading branch information
Vylpes committed Jun 14, 2024
1 parent 9799ef1 commit c6d791c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/cli.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,9 @@ describe('query-metadata', () => {

function cli(args: string[], cwd: string): Promise<cliResult> {
return new Promise(resolve => {
exec("ls", { cwd }, (error, stdout, stderr) => {
console.log(stdout);
});
exec(`node ${path.resolve('./dist/cli.js')} ${args.join(' ')}`,
{ cwd },
(error, stdout, stderr) => { resolve({
Expand Down

0 comments on commit c6d791c

Please sign in to comment.