diff --git a/apps/commonality/test/integration/studio.test.ts b/apps/commonality/test/integration/studio.test.ts index 8becdcaa..35294030 100644 --- a/apps/commonality/test/integration/studio.test.ts +++ b/apps/commonality/test/integration/studio.test.ts @@ -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`); @@ -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`); @@ -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`);