Skip to content

Commit

Permalink
pass pid to kill
Browse files Browse the repository at this point in the history
  • Loading branch information
alec-chernicki committed Dec 21, 2023
1 parent 304c6f1 commit 5d3e947
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/commonality/test/integration/studio.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ describe.concurrent('studio', () => {
{ timeout: 100_000 },
);

cliProcess.kill();
cliProcess.kill(cliProcess.pid);

await vi.waitFor(() => {
expect(output).toContain(`Successfully exited Commonality Studio`);
Expand Down Expand Up @@ -137,7 +137,7 @@ describe.concurrent('studio', () => {
{ timeout: 100_000 },
);

cliProcess.kill();
cliProcess.kill(cliProcess.pid);

await vi.waitFor(() => {
expect(output).toContain(`Successfully exited Commonality Studio`);
Expand Down Expand Up @@ -205,7 +205,7 @@ describe.concurrent('studio', () => {
{ timeout: 100_000 },
);

cliProcess.kill();
cliProcess.kill(cliProcess.pid);

await vi.waitFor(() => {
expect(output).toContain(`Successfully exited Commonality Studio`);
Expand Down

0 comments on commit 5d3e947

Please sign in to comment.