Closed DevYeom closed 11 months ago
Task.yield()
// AS-IS while await sut.state.count < 4 { await Task.yield() } let state = await sut.state XCTAssertEqual(state.count, 4) // TO-DO await expect { await sut.state.count == 4 }
Related Issues 💭
Description 📝
Task.yield()
multiple times for comparing result values.Additional Notes 📚
Checklist ✅