import { defineConfig } from "vitest/config"; export default defineConfig({ test: { // The current suite covers PURE modules (tokens, theme, formatters, // focus, command-palette) — no DOM needed, so it runs under node. When a // real React component test is added, install `jsdom` as a devDependency // and switch this back to "jsdom". environment: "node", include: ["src/**/*.test.ts"], globals: false, coverage: { provider: "v8", include: ["src/**/*.ts"], exclude: ["src/**/*.test.ts"], }, }, });