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
test(platform): a share-token photo whose copy fails to build is a 404
Mauricefa9994094540
diff --git a/server/tests/unit/nest/platform.controller.test.ts b/server/tests/unit/nest/platform.controller.test.tsindex efca3efb9..3f7dee995 100644--- a/server/tests/unit/nest/platform.controller.test.ts+++ b/server/tests/unit/nest/platform.controller.test.ts@@ -390,6 +390,11 @@ describe('applyPlatformUploads', () => {expect(refused.statusCode).toBe(404);expect(refused.body).toBe('Not found');+ renditionFor.mockRejectedValue(new Error('storage down'));+ const failed = makeRes();+ await photoHandler()(ask, failed, next);+ expect(failed.statusCode).toBe(404);+const unwired = makeRes();await photoHandler(null)(ask, unwired, next);expect(unwired.statusCode).toBe(404);