mirror of
https://github.com/kuhyx/utils.git
synced 2026-11-28 08:49:21 +01:00
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
19 lines
595 B
TypeScript
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"],
|
|
},
|
|
});
|