Skip to content

Commit

Permalink
stabilize reroute_from_multileg_primary_to_single_leg_alternative
Browse files Browse the repository at this point in the history
  • Loading branch information
dzinad committed Dec 8, 2023
1 parent a53a327 commit b8f4419
Showing 1 changed file with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -802,9 +802,13 @@ class CoreRerouteTest : BaseCoreNoCleanUpTest() {
.coordinatesList(mockRoute.routeWaypoints).build()
).getSuccessfulResultOrThrowException().routes.reversed()

mapboxNavigation.setNavigationRoutes(routes)

mapboxNavigation.routeProgressUpdates().first()
stayOnPosition(
mockRoute.routeWaypoints.first(),
0f
) {
mapboxNavigation.setNavigationRoutes(routes)
mapboxNavigation.routeProgressUpdates().first()
}
mapboxNavigation.navigateNextRouteLeg()
mockLocationReplayerRule.loopUpdateUntil(secondLegLocation) {
mapboxNavigation.routeProgressUpdates()
Expand Down

0 comments on commit b8f4419

Please sign in to comment.