Skip to content

Commit 60e2a39

Browse files
committed
test: add visionOS to app start provider tests
Update platform guard in SentryAppStartMeasurementProviderTests to include os(visionOS), matching production code's SENTRY_HAS_UIKIT guard and ClearTestState.swift's platform guards.
1 parent d7eaf31 commit 60e2a39

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Tests/SentryTests/Integrations/Performance/AppStartTracking/SentryAppStartMeasurementProviderTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@_spi(Private) @testable import Sentry
22
import XCTest
33

4-
#if os(iOS) || os(tvOS)
4+
#if os(iOS) || os(tvOS) || os(visionOS)
55

66
class SentryAppStartMeasurementProviderTests: XCTestCase {
77

@@ -304,4 +304,4 @@ class SentryAppStartMeasurementProviderTests: XCTestCase {
304304
}
305305
}
306306

307-
#endif // os(iOS) || os(tvOS)
307+
#endif // os(iOS) || os(tvOS) || os(visionOS)

0 commit comments

Comments
 (0)