The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.
TypeScript budget-trackercollaborativedockeritinerarymcp-serveroffline-firstopen-sourceopenstreetmappacking-listpwareal-timeself-hostedselfhostedtraveltravel-apptravel-journaltravel-plannertripitwanderlog
fix(tests): let the spool handler stub carry a payload
Mauricea463246c1c99
diff --git a/server/tests/unit/nest/spool-cleanup.interceptor.test.ts b/server/tests/unit/nest/spool-cleanup.interceptor.test.tsindex 4a37bf90d..d3eb4b80f 100644--- a/server/tests/unit/nest/spool-cleanup.interceptor.test.ts+++ b/server/tests/unit/nest/spool-cleanup.interceptor.test.ts@@ -1,5 +1,6 @@import { describe, it, expect, vi, beforeEach } from 'vitest';import { firstValueFrom, of, throwError } from 'rxjs';+import type { Observable } from 'rxjs';import type { CallHandler, ExecutionContext } from '@nestjs/common';const fsMock = vi.hoisted(() => ({ unlinkSync: vi.fn() }));@@ -11,7 +12,7 @@ function context(req: Record<string, unknown>): ExecutionContext {return { switchToHttp: () => ({ getRequest: () => req }) } as unknown as ExecutionContext;}-function handler(observable: ReturnType<typeof of>): CallHandler {+function handler(observable: Observable<unknown>): CallHandler {return { handle: () => observable } as CallHandler;}