Booking Engine
Architecture: Six focused services with the BookingService/SchedulingService overlap resolved by giving SchedulingService exactly one job, the transactional double-booking guard , while BookingService owns the create/reschedule/cancel workflow around it. 59 unit tests, 24 integration tests
This commit is contained in:
28 files changed
+4853
-15
No files matched your search
@@ -0,0 +1,13 @@
|
||||
import { defineConfig } from "vitest/config";
|
||||
|
||||
export default defineConfig({
|
||||
resolve: { tsconfigPaths: true },
|
||||
test: {
|
||||
environment: "node",
|
||||
globals: false,
|
||||
// Unit tests (no DB) run by default via `npm test`. Integration tests
|
||||
// (real Postgres required) are named `*.integration.test.ts` and only
|
||||
// run via `npm run test:integration` — see docs/phase-3-summary.md.
|
||||
exclude: ["node_modules/**", ".next/**", "templates/**", "**/*.integration.test.ts"],
|
||||
},
|
||||
});
|
||||
Reference in new issue
Block a user