From d2ef001be91b43774fd7cf5a9e8d37b651f5fdf6 Mon Sep 17 00:00:00 2001 From: Amruth Pillai Date: Tue, 29 Sep 2026 00:53:31 +0200 Subject: [PATCH] test(server): give the first app route test time for the cold import It imports the whole app and timed out under parallel runs. --- apps/server/src/http/app.test.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/server/src/http/app.test.ts b/apps/server/src/http/app.test.ts index e626d254d..572b290a6 100644 --- a/apps/server/src/http/app.test.ts +++ b/apps/server/src/http/app.test.ts @@ -113,7 +113,8 @@ describe("createApp", () => { await expect(response.text()).resolves.toBe("oauth"); expect(mocks.handleOAuth).toHaveBeenCalledWith(request); expect(mocks.handleAuth).not.toHaveBeenCalled(); - }); + // The first test pays for the cold import of the whole app, which takes seconds under a parallel run. + }, 15_000); it("routes signed resume PDF downloads before the web fallback", async () => { const { createApp } = await import("./app");