mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-18 21:16:47 +00:00
test(roadtrip): cover the planner half the mode switch unlocks
The road trip handlers in useTripPlanner are unreachable until the addon is on for the instance and the mode is on for the trip, so the existing suite never entered them: 360 of the file's new lines and branches had never run. Turns both switches on and drives what the rail, the corridor panel and the map call. The cases that matter are the ones where a via has to be re-anchored: a via records which stop it follows by position, so a reorder, a move between days or an insert that forgets the correction silently re-shapes the drive.
This commit is contained in: