mirror of
https://github.com/zadam/trilium.git
synced 2025-11-10 07:15:51 +01:00
15 lines
358 B
TypeScript
15 lines
358 B
TypeScript
|
|
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();
|
||
|
|
});
|
||
|
|
|
||
|
|
});
|