frigate/web/e2e/global-setup.ts

8 lines
226 B
TypeScript
Raw Normal View History

2026-04-06 19:15:22 +03:00
import { execSync } from "child_process";
import path from "path";
export default function globalSetup() {
const webDir = path.resolve(__dirname, "..");
execSync("npm run e2e:build", { cwd: webDir, stdio: "inherit" });
}