Files
flights_web/vitest.config.ts
T
gnezim 8459e1661b Add fabricated violation tests for boundary rules
Fix eslint.config.js: add import/resolver settings so boundaries plugin
can resolve .ts/.tsx imports, and merge no-restricted-imports blocks to
prevent ESLint 9 flat config from overriding earlier rule definitions.
2026-04-14 23:06:57 +03:00

29 lines
706 B
TypeScript

import { defineConfig } from "vitest/config";
import path from "node:path";
export default defineConfig({
resolve: {
alias: {
"@": path.resolve(__dirname, "./src"),
"@phase0": path.resolve(__dirname, "./scripts/phase-0"),
},
},
test: {
environment: "node",
globals: true,
passWithNoTests: true,
include: ["src/**/*.test.ts", "src/**/*.test.tsx", "tests/**/*.test.ts"],
coverage: {
provider: "v8",
reporter: ["text", "json-summary", "lcov"],
include: ["src/**/*.ts", "src/**/*.tsx"],
exclude: [
"src/**/*.test.ts",
"src/**/*.test.tsx",
"src/**/types.ts",
"src/host-contract.ts",
],
},
},
});