| 1 | // Runs the full Playwright suite: live (miniflare over dist/build.json) and |
| 2 | // dev (Nuxt's own dev server with `event.context.cloudflare` served through |
| 3 | // the platform-proxy bridge, wrangler-free). |
| 4 | import { execSync } from "node:child_process"; |
| 5 | |
| 6 | // `bun run` puts the fixture's node_modules/.bin on PATH for playwright. |
| 7 | execSync("bun run test:e2e", { stdio: "inherit" }); |