Skip to content

Commit 0d2712c

Browse files
fix: Issue when running tests from terminal
1 parent 981ea75 commit 0d2712c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Tests/ConfidenceTests/ConfidenceDeviceInfoContextDecoratorTests.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import XCTest
22
@testable import Confidence
33

4+
#if os(iOS) || os(tvOS) || os(visionOS) || targetEnvironment(macCatalyst)
45
final class DeviceInfoContextDecoratorTests: XCTestCase {
56
func testEmptyConstructMakesNoOp() {
67
let result = ConfidenceDeviceInfoContextDecorator().decorated(context: [:])
@@ -32,3 +33,4 @@ final class DeviceInfoContextDecoratorTests: XCTestCase {
3233
XCTAssertNotNil(result["device"])
3334
}
3435
}
36+
#endif

0 commit comments

Comments
 (0)