From 1e7c10d2ad373cb2295e96b3ea16509a5753751d Mon Sep 17 00:00:00 2001 From: Raymond Oyondi Date: Sun, 12 Jul 2026 19:25:44 +0000 Subject: [PATCH] fix: cast react plugin to any in vitest config to resolve Vite type mismatch --- vitest.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vitest.config.ts b/vitest.config.ts index 82aa001..0f2fb84 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -6,7 +6,7 @@ import react from "@vitejs/plugin-react"; // separately via `npm run e2e` and must not be collected by vitest (their // `test.describe` collides with vitest's global). export default defineConfig({ - plugins: [react()], + plugins: [react() as any], test: { environment: "node", include: ["src/**/*.{test,spec}.{ts,tsx}"],