Skip to content

Commit

Permalink
change smoke to exec
Browse files Browse the repository at this point in the history
  • Loading branch information
alec-chernicki committed Dec 21, 2023
1 parent 36b6e87 commit 304c6f1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions apps/commonality/test/integration/smoke.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import path from 'node:path';
import { fileURLToPath } from 'node:url';
import { describe, expect, it, vi } from 'vitest';
import { execa } from 'execa';
import { exec } from 'node:child_process';
import stripAnsi from 'strip-ansi';
import os from 'node:os';
import fs from 'fs-extra';
Expand All @@ -23,9 +23,8 @@ describe('smoke', () => {

await fs.copy(fixturePath, temporaryPath);

const cliProcess = execa(binPath, {
const cliProcess = exec(binPath, {
cwd: temporaryPath,
stdout: 'pipe',
});

let output = '';
Expand Down

0 comments on commit 304c6f1

Please sign in to comment.