Skip to content

Commit 688cfe5

Browse files
committed
fixup! feat(openapi-typescript): add TypeScript 6 support
Attempt to fix test-e2e CI hang
1 parent b45c67b commit 688cfe5

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

packages/openapi-fetch/playwright.config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ const PORT = Number.parseInt(process.env.PORT || "4173", 10);
66
export default defineConfig({
77
testMatch: "test/**/*.e2e.ts",
88
webServer: {
9-
// We target the explicit test subfolder so Vite finds the E2E html layout safely
10-
command: `pnpm exec vite build test --outDir test/dist && pnpm exec vite preview test --port ${PORT} --host ${HOST}`,
9+
// We use the root-safe package workspace filter to accurately point to the exact local commands
10+
command: `pnpm --filter openapi-fetch run e2e-vite-build && pnpm --filter openapi-fetch run e2e-vite-start --host ${HOST} --port ${PORT}`,
1111
port: PORT,
1212
reuseExistingServer: !process.env.CI,
13-
timeout: 60_000,
13+
timeout: 120_000, // Provides plenty of overhead room for TS6 type compilation
1414
},
1515
use: {
1616
baseURL: `http://${HOST}:${PORT}`,

0 commit comments

Comments
 (0)