From 9eef93775ca05340ab2dfb38f3e0c699285699d9 Mon Sep 17 00:00:00 2001 From: Kawa Date: Fri, 27 Mar 2026 09:25:08 +0100 Subject: [PATCH] chore(03-01): configure Vitest jsdom environment - Add test block to vite.config.ts with environment: 'jsdom' - Add passWithNoTests: true (established project convention) --- vite.config.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vite.config.ts b/vite.config.ts index da17daf..93d8981 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -4,4 +4,8 @@ import tailwindcss from '@tailwindcss/vite'; export default defineConfig({ plugins: [react(), tailwindcss()], + test: { + environment: 'jsdom', + passWithNoTests: true, + }, });