Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion test/unit/nextjs-runtime-discovery.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ function forceKillProcessTree(proc: ChildProcess): void {
const FIXTURE_SOURCE = join(__dirname, "../fixtures/nextjs16-minimal")
const TEST_PORT = 3456
const SERVER_STARTUP_TIMEOUT = 180000
// Teardown kills the dev server and rm -rf's a temp dir containing a full
// node_modules; on Windows CI this can exceed vitest's default 10s hookTimeout.
const CLEANUP_TIMEOUT = 60000
const TEST_TIMEOUT = 240000

describe("nextjs-runtime-discovery", () => {
Expand Down Expand Up @@ -194,7 +197,7 @@ describe("nextjs-runtime-discovery", () => {
console.error("[Test] Failed to clean up temp directory:", error)
}
}
})
}, CLEANUP_TIMEOUT)

it(
"should discover Next.js server on non-standard port via process discovery",
Expand Down
Loading