Skip to content

Commit 6ed45e8

Browse files
committed
Fix test.
1 parent 83b2c1b commit 6ed45e8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Tests/ComposableArchitectureTests/ObserveTests.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
_ = observation
3636
}
3737

38+
#if DEBUG
3839
@MainActor
3940
func testNestedObservation() async throws {
4041
XCTExpectFailure {
@@ -71,6 +72,7 @@
7172
try await Task.sleep(nanoseconds: 1_000_000)
7273
XCTAssertEqual(counts, [0, 1, 1])
7374
}
75+
#endif
7476
}
7577

7678
@Perceptible

0 commit comments

Comments
 (0)