We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eed24cd commit a3dcc65Copy full SHA for a3dcc65
Examples/SyncUps/SyncUpsTests/AppFeatureTests.swift
@@ -14,10 +14,10 @@ final class AppFeatureTests: XCTestCase {
14
AppFeature()
15
}
16
17
- await store.send(
18
- \.path.push, (id: 0, .detail(SyncUpDetail.State(syncUp: store.state.syncUpsList.$syncUps[0])))
19
- ) {
20
- $0.path[id: 0] = .detail(SyncUpDetail.State(syncUp: Shared(syncUp)))
+ let sharedSyncUp = try XCTUnwrap(store.state.syncUpsList.$syncUps[id: syncUp.id])
+
+ await store.send(\.path.push, (id: 0, .detail(SyncUpDetail.State(syncUp: sharedSyncUp)))) {
+ $0.path[id: 0] = .detail(SyncUpDetail.State(syncUp: sharedSyncUp))
21
22
23
await store.send(\.path[id:0].detail.editButtonTapped) {
0 commit comments