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(tours): the wiring test follows the map stage's shared edit gate
Maurice20d8bae46b91
diff --git a/client/src/pages/tripPlanner/b4a-wiring.test.ts b/client/src/pages/tripPlanner/b4a-wiring.test.tsindex 89a4ffca3..f9000b762 100644--- a/client/src/pages/tripPlanner/b4a-wiring.test.ts+++ b/client/src/pages/tripPlanner/b4a-wiring.test.ts@@ -187,8 +187,10 @@ test('B4A desktop page delegates Tours state and permissions to its page hook',const mapClickGate = collect(mapStage, node => ts.isJsxAttribute(node)&& node.name.getText(mapStage) === 'onMapClick'&& node.initializer && ts.isJsxExpression(node.initializer)- && !!node.initializer.expression && node.initializer.expression.getText(mapStage).includes('canPlaceEdit'))+ && !!node.initializer.expression && /canEditRoute|canPlaceEdit/.test(node.initializer.expression.getText(mapStage)))assert.ok(mapClickGate.length > 0)+ // The gate the 2D and 3D maps share is derived from the place permission.+ assert.match(mapStageText, /const canEditRoute = canPlaceEdit && /)})test('B4A dedicated desktop controller retains GPX, draft, focus, and saved rail wiring', () => {