Quantcast
Channel: Combine: Asynchronous Programming with Swift - Kodeco Forums
Viewing all articles
Browse latest Browse all 26

Debounce unit test

$
0
0

Hello,

Let’s suppose we have a a string as a published property in our view model. We subscribe to this published property in our view model and use different combine operators. One of these operators is debounce. When unit testing I cannot get my values to be emitted. How would we mock / bypass debounce when unit testing?

Thanks in advance!

4 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 26

Trending Articles