utils/ts_core/vitest.config.ts
Krzysztof kuhy Rudnicki 2399227b4e Drop lint, type, coverage, line-cap gates
Bug-class-check: none — gate policy change (kuhy 2026-11-27)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WzxdWZDq7ef5JyQd7Rx3Ju
2026-11-28 08:01:51 +01:00

19 lines
595 B
TypeScript

import { defineConfig } from "vitest/config";
export default defineConfig({
test: {
coverage: {
exclude: ["src/index.ts", "src/**/*.d.ts"],
include: ["src/**/*.ts"],
provider: "v8",
// Same bar as design_system and web_ui: a shared layer several repos
// depend on does not get to be the least-tested code in the tree.
},
// No jsdom: this package is framework-free. `performance.now()` exists in
// plain node, which is the only browser-ish API it touches.
environment: "node",
globals: true,
include: ["src/**/*.test.ts"],
},
});