Adding a “TestSubscriber” helps with the readability and usage of testing with Combine. A simple implementation is just a class holding the array of tracked values and the AnyCancellable
.
Adding a “TestSubscriber” helps with the readability and usage of testing with Combine. A simple implementation is just a class holding the array of tracked values and the AnyCancellable
.