Last active
May 14, 2021 03:40
-
-
Save vikingosegundo/827922e408c89ad4be15963b05825011 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
change(store, .by(.adding(.item(i))) ) | |
respond(.item(i, .wasAdded)) | |
expect(items(in: appState)).to(beEmpty()) | |
expect(dueDate(of:first(of:items(in: appState))!)).to(equal(Date.tomorrow.noon)) | |
expect(dueDate(of:first(of:appState.items)!)).to(equal(Date.tomorrow.noon)) | |
let newItem = change(item, .by(.updating(.completed(to: true)))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment