chore(test): adjust timeout

This commit is contained in:
Elian Doran 2025-06-07 12:04:14 +03:00
parent a7f4bcda8f
commit 68631150af
No known key found for this signature in database
2 changed files with 1 additions and 15 deletions

View File

@ -180,7 +180,7 @@ describe("Login Route test", () => {
expect(session).toBeFalsy();
});
});
});
}, 100_000);
async function getSessionFromCookie(setCookieHeader: string) {
// Extract the session ID from the cookie.

View File

@ -1,14 +0,0 @@
import { beforeAll, describe, expect, it } from "vitest";
import supertest from "supertest";
import type { Application } from "express";
import dayjs from "dayjs";
let app: Application;
describe("Session parser", () => {
beforeAll(async () => {
const buildApp = (await import("../app.js")).default;
app = await buildApp();
});
});