Add counter example to show viewActions modifying the state.

This commit is contained in:
David Langley
2021-09-20 17:05:54 +01:00
parent a94969403c
commit e22848dcda
11 changed files with 65 additions and 47 deletions
@@ -17,9 +17,10 @@
import XCTest
import RiotSwiftUI
/// XCTestCase subclass to easy testing of `MockScreenState`'s.
/// XCTestCase subclass to ease testing of `MockScreenState`.
/// Creates a test case for each screen state, launches the app,
/// goes to the correct screen and
/// goes to the correct screen and provides the state and key for each
/// invocation of the test.
@available(iOS 14.0, *)
class MockScreenTest: XCTestCase {