test(server): give the first app route test time for the cold import

It imports the whole app and timed out under parallel runs.
This commit is contained in:
Amruth Pillai
2026-09-29 00:53:31 +02:00
parent 3604d6feb2
commit d2ef001be9
+2 -1
View File
@@ -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");