test(etapi): port app-info

This commit is contained in:
Elian Doran
2025-06-02 18:08:21 +03:00
parent d9249e3760
commit 053ff0568d
5 changed files with 38 additions and 8 deletions

View File

@@ -7,6 +7,8 @@ import dayjs from "dayjs";
process.env.TRILIUM_DATA_DIR = join(__dirname, "db");
process.env.TRILIUM_RESOURCE_DIR = join(__dirname, "../src");
process.env.TRILIUM_INTEGRATION_TEST = "memory";
process.env.TRILIUM_ENV = "dev";
process.env.TRILIUM_PUBLIC_SERVER = "http://localhost:4200";
beforeAll(async () => {
// Initialize the translations manually to avoid any side effects.