You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Tests/MapboxCoreNavigationTests/NavigationServiceTests.swift
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -53,6 +53,11 @@ class NavigationServiceTests: XCTestCase {
53
53
directionsClientSpy.reset()
54
54
delegate.reset()
55
55
}
56
+
57
+
overridefunc tearDown(){
58
+
super.tearDown()
59
+
try?Navigator.shared.navigator.resetRideSession()
60
+
}
56
61
57
62
func testDefaultUserInterfaceUsage(){
58
63
XCTAssertTrue(!dependencies.navigationService.eventsManager.usesDefaultUserInterface,"MapboxCoreNavigationTests shouldn't have an implicit dependency on MapboxNavigation due to removing the Example application target as the test host.")
0 commit comments