mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-07-26 09:52:11 +03:00
v3.8.40 cycle integration → main. All test gates green (Unit/Integration/Coverage/Node-compat/Quality-Ratchet). The only red check, 'PR Test Policy', is the test-masking heuristic firing on the cumulative ~57-commit release diff (legitimate assert consolidations already reviewed per-PR — Gemini CLI removal #5246, retired GPT models #5280, provider catalog refreshes); overridden with --admin per the documented release-PR convention. CodeQL/SonarQube advisory scans non-blocking; #5278's code already passed CodeQL on main. Homologated on VPS 192.168.0.15 (v3.8.40 healthy).
34 lines
943 B
TypeScript
34 lines
943 B
TypeScript
import { defineConfig } from "vitest/config";
|
|
import path from "path";
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
environment: "node",
|
|
globals: true,
|
|
pool: "threads",
|
|
maxWorkers: 20,
|
|
fileParallelism: true,
|
|
maxConcurrency: 20,
|
|
include: [
|
|
"open-sse/mcp-server/__tests__/**/*.test.ts",
|
|
"open-sse/services/autoCombo/__tests__/**/*.test.ts",
|
|
"open-sse/services/combo/__tests__/**/*.test.ts",
|
|
"open-sse/services/__tests__/antigravity-quota-family.test.ts",
|
|
"tests/unit/autoCombo/**/*.test.ts",
|
|
"tests/unit/encryption.spec.ts",
|
|
"src/shared/components/**/*.test.tsx",
|
|
"src/shared/hooks/__tests__/**/*.test.tsx",
|
|
"src/app/(dashboard)/**/__tests__/**/*.test.tsx",
|
|
],
|
|
exclude: ["**/node_modules/**", "**/.git/**"],
|
|
coverage: {
|
|
reportsDirectory: "coverage",
|
|
},
|
|
},
|
|
resolve: {
|
|
alias: {
|
|
"@": path.resolve(__dirname, "./src"),
|
|
},
|
|
},
|
|
});
|