From a937f095e8f2d64e07d5538b6c885133ebea66a0 Mon Sep 17 00:00:00 2001 From: Jake Jarvis Date: Tue, 7 Oct 2025 18:55:56 -0400 Subject: [PATCH] Update TypeScript configuration for Vitest and adjust Vitest settings --- tsconfig.json | 2 ++ vitest.config.ts | 1 + 2 files changed, 3 insertions(+) diff --git a/tsconfig.json b/tsconfig.json index 00978ef..bba70d2 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/tsconfig", "compilerOptions": { "target": "ES2017", "lib": ["dom", "dom.iterable", "esnext"], @@ -13,6 +14,7 @@ "isolatedModules": true, "jsx": "react-jsx", "incremental": true, + "types": ["@testing-library/jest-dom", "vitest/globals"], "plugins": [ { "name": "next" diff --git a/vitest.config.ts b/vitest.config.ts index 5be3df0..bc20b1c 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -9,6 +9,7 @@ export default defineConfig({ setupFiles: ["./vitest.setup.ts"], css: true, globals: true, + silent: "passed-only", exclude: ["**/node_modules/**", "**/dist/**", "**/.next/**"], coverage: { provider: "v8",