mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00
chore(test): adjust timeout
This commit is contained in:
parent
a7f4bcda8f
commit
68631150af
@ -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.
|
||||
|
@ -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();
|
||||
});
|
||||
|
||||
});
|
Loading…
x
Reference in New Issue
Block a user