Skip to content

Build your personal knowledge base with Trilium Notes

chore(client): tests not running due to change in Vite

Elian Doranad7b5700f3a5
diff --git a/apps/client/tsconfig.app.json b/apps/client/tsconfig.app.json
index 4abc845e41..e81c3e3213 100644
--- a/apps/client/tsconfig.app.json
+++ b/apps/client/tsconfig.app.json
@@ -8,7 +8,7 @@
"preact"
],
"rootDir": "src",
- "jsx": "preserve",
+ "jsx": "react",
"jsxFactory": "h",
"jsxImportSource": "preact",
"module": "esnext",
diff --git a/apps/client/tsconfig.spec.json b/apps/client/tsconfig.spec.json
index 43317d4e07..5f0064b467 100644
--- a/apps/client/tsconfig.spec.json
+++ b/apps/client/tsconfig.spec.json
@@ -6,7 +6,7 @@
"node",
"vitest"
],
- "jsx": "preserve",
+ "jsx": "react",
"jsxFactory": "h",
"jsxImportSource": "preact",
"module": "esnext",