Skip to content

Commit

Permalink
chore(tests): use npx for node 18 CLI exec
Browse files Browse the repository at this point in the history
  • Loading branch information
eoinsha committed Sep 30, 2024
1 parent eecdb7a commit 2652750
Show file tree
Hide file tree
Showing 3 changed files with 715 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cli/tests/cli.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ interface ExecFileError {

async function runCli (cliArgs: string[] = []): Promise<RunResult> {
try {
const { stderr, stdout } = await execFile('ts-node', [cliPath, ...cliArgs])
const { stderr, stdout } = await execFile('tsx', [cliPath, ...cliArgs])

return {
stdout: stdout.trim(),
Expand Down
Loading

0 comments on commit 2652750

Please sign in to comment.