Skip to content

Commit a3dcc65

Browse files
committed
wip
1 parent eed24cd commit a3dcc65

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Examples/SyncUps/SyncUpsTests/AppFeatureTests.swift

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ final class AppFeatureTests: XCTestCase {
1414
AppFeature()
1515
}
1616

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)))
17+
let sharedSyncUp = try XCTUnwrap(store.state.syncUpsList.$syncUps[id: syncUp.id])
18+
19+
await store.send(\.path.push, (id: 0, .detail(SyncUpDetail.State(syncUp: sharedSyncUp)))) {
20+
$0.path[id: 0] = .detail(SyncUpDetail.State(syncUp: sharedSyncUp))
2121
}
2222

2323
await store.send(\.path[id:0].detail.editButtonTapped) {

0 commit comments

Comments
 (0)