1import { defineConfig } from "vitest/config"; 2 3export default defineConfig({ 4 test: { 5 // The current suite covers PURE modules (tokens, theme, formatters, 6 // focus, command-palette) — no DOM needed, so it runs under node. When a 7 // real React component test is added, install `jsdom` as a devDependency 8 // and switch this back to "jsdom". 9 environment: "node", 10 include: ["src/**/*.test.ts"], 11 globals: false, 12 coverage: { 13 provider: "v8", 14 include: ["src/**/*.ts"], 15 exclude: ["src/**/*.test.ts"], 16 }, 17 }, 18}); 19