Files
better-auth/e2e/integration/test-utils/src/playwright.ts
Alex Yang 6353e3da02 e2e: integration test for solid-js (#4469)
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-09-08 16:49:01 -07:00

9 lines
307 B
TypeScript

import { createRequire } from "node:module";
export const terminate = createRequire(import.meta.url)(
// use terminate instead of cp.kill,
// because cp.kill will not kill the child process of the child process
// to avoid the zombie process
"terminate/promise",
) as (pid: number) => Promise<void>;