Initial Commit

This commit is contained in:
2026-05-27 23:29:53 +01:00
commit fbc70f96e6
10000 changed files with 1102152 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
import { createPlaywrightConfig } from "@suaveplan/testing-e2e";
const PORT = Number.parseInt(process.env["E2E_PORT"] ?? "3711", 10);
const baseURL = `http://127.0.0.1:${PORT}`;
export default createPlaywrightConfig({
baseURL,
testDir: "./tests",
timeout: 60_000,
expect: { timeout: 10_000 },
reporter: process.env["CI"] ? "list" : "line",
projects: [{ name: "api", use: {} }],
webServer: {
command: `bun run src/server.ts`,
env: {
PORT: String(PORT),
},
url: `${baseURL}/internal/livez`,
reuseExistingServer: !process.env["CI"],
timeout: 120_000,
stdout: "pipe",
stderr: "pipe",
},
});