Skip to content

Commit baef81e

Browse files
committed
Run UIKit related tests only on iOS and tvOS
1 parent 2ba2add commit baef81e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Tests/URLNavigatorTests/Stubs.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#if os(iOS) || os(tvOS)
12
import UIKit
23
import Stubber
34
import URLNavigator
@@ -24,3 +25,4 @@ final class StubNavigatorDelegate: NavigatorDelegate {
2425
return Stubber.invoke(shouldPresent, args: (viewController, from), default: true)
2526
}
2627
}
28+
#endif

0 commit comments

Comments
 (0)