Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[web] Retain Photos test discovery for unused export checks

Aswin Asokdbc2b3268354
diff --git a/web/apps/photos/vitest.config.ts b/web/apps/photos/vitest.config.ts
index cfa752fdf7..2dd14bc412 100644
--- a/web/apps/photos/vitest.config.ts
+++ b/web/apps/photos/vitest.config.ts
@@ -1,3 +1,7 @@
import { defineConfig } from "vitest/config";
-export default defineConfig({ oxc: { jsx: { runtime: "automatic" } } });
+export default defineConfig({
+ oxc: { jsx: { runtime: "automatic" } },
+ // Knip needs this to discover the default test entry points.
+ test: {},
+});