- backend: POST /notes/:id/summarize — calls extraction-service, stores summary artifact - backend: GET /notes/export — JSON + Markdown format support - backend: extraction-client.ts for extraction-service integration - backend: 4 new integration tests (summarize, export JSON, export MD, invalid format) - web: summarizeNote + exportNotes client functions - web: Summarize button on note detail page - web: Export Notes button on workspaces page - web: exclude e2e/ from vitest config - Total: 80 backend, 14 web, 23 mobile = 117 tests
17 lines
344 B
TypeScript
17 lines
344 B
TypeScript
import path from "node:path";
|
|
import { defineConfig } from "vitest/config";
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
environment: "jsdom",
|
|
setupFiles: ["./src/test/setupTests.ts"],
|
|
globals: true,
|
|
exclude: ["e2e/**", "node_modules/**"],
|
|
},
|
|
resolve: {
|
|
alias: {
|
|
"@": path.resolve(__dirname, "./src"),
|
|
},
|
|
},
|
|
});
|