Skip to content

Build your personal knowledge base with Trilium Notes

chore(client): tests not being able to access .tsx

Elian Dorand36716bdb6ee
diff --git a/apps/client/tsconfig.spec.json b/apps/client/tsconfig.spec.json
index dedbb02939..152d9cb276 100644
--- a/apps/client/tsconfig.spec.json
+++ b/apps/client/tsconfig.spec.json
@@ -8,6 +8,9 @@
"node",
"vitest"
],
+ "jsx": "preserve",
+ "jsxFactory": "h",
+ "jsxImportSource": "preact",
"module": "esnext",
"moduleResolution": "bundler"
},