mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-01 19:42:03 +00:00
20 lines
414 B
TypeScript
20 lines
414 B
TypeScript
import { fileURLToPath } from "node:url";
|
|
|
|
const child = Bun.spawn(
|
|
[
|
|
"bunx",
|
|
"vitest",
|
|
"run",
|
|
"src/routes/files.test.ts",
|
|
"src/routes/gsapMutationCapabilities.test.ts",
|
|
],
|
|
{
|
|
cwd: fileURLToPath(new URL("..", import.meta.url)),
|
|
env: { ...process.env, HYPERFRAMES_GSAP_WRITER: "acorn" },
|
|
stdout: "inherit",
|
|
stderr: "inherit",
|
|
},
|
|
);
|
|
|
|
process.exitCode = await child.exited;
|