Chapter 23 - „Adding a View Model test“ (errata)

To get a array of type [Event] for the emitted variable I had (instead of)

let loggedIn = viewModel.loggedIn.asObservable()

do this.

let loggedIn = viewModel.loggedIn.asObservable().materialize()
5 Likes

@rabe Thank you for the heads up - much appreciated! :]