mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-10-04 02:33:47 +10:00
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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user