mirror of
https://github.com/kuhyx/utils.git
synced 2026-11-10 20:07:18 +01:00
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
17 lines
540 B
JavaScript
17 lines
540 B
JavaScript
import { defineConfig } from "vitest/config";
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
coverage: {
|
|
include: ["eslint/**/*.js", "scripts/lib/**/*.mjs", "stryker.base.mjs"],
|
|
provider: "v8",
|
|
// The same bar as ts_core and web_ui: the package every repo's lint
|
|
// runs through does not get to be the least-tested code in the tree.
|
|
thresholds: { branches: 100, functions: 100, lines: 100, statements: 100 },
|
|
},
|
|
environment: "node",
|
|
include: ["test/**/*.test.js"],
|
|
testTimeout: 120_000,
|
|
},
|
|
});
|