mirror of
https://github.com/ttusk/leif.git
synced 2026-07-22 08:32:51 +00:00
- 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
16 lines
346 B
TypeScript
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
|
|
}
|
|
}
|
|
});
|