ttusk_leif/vitest.config.ts
Luiz Gustavo 1ca9bc3672 refactor: complete all remaining codebase refinements
- refactor all 20 use cases to use EntityRepository pattern
- integrate ActiveContestGuard into 6 query use cases
- add input validation layer with 14 validators
- create 3 domain services (Subject, StudySession, QuestionNotebook)
- optimize UI rendering with incremental tab updates
- transform all 9 entities from interfaces to rich classes
- add JSDoc to all use cases, services, entities, and UI components
- add comprehensive tests: 96 tests (up from 23, 317% increase)

all 96 tests passing
2026-06-11 22:34:00 -03:00

16 lines
346 B
TypeScript

import { defineConfig } from "vitest/config";
export default defineConfig({
test: {
environment: "node",
coverage: {
reporter: ["text", "lcov"]
}
},
resolve: {
alias: {
"@": new URL("./src", import.meta.url).pathname,
obsidian: new URL("./tests/mocks/obsidian.ts", import.meta.url).pathname
}
}
});