Skip to content

Build your personal knowledge base with Trilium Notes

test(server): adjust timeout

Elian Dorane928337fe9a6
diff --git a/apps/server/vite.config.mts b/apps/server/vite.config.mts
index 0f2ac57121..2fa10ff798 100644
--- a/apps/server/vite.config.mts
+++ b/apps/server/vite.config.mts
@@ -19,7 +19,8 @@ export default defineConfig(() => ({
exclude: [
"spec/build-checks/**",
],
- hookTimeout: 40_000,
+ hookTimeout: 20_000,
+ testTimeout: 40_000,
reporters: [
"verbose",
["html", { outputFile: "./test-output/vitest/html/index.html" }]