jean
03/04/2025, 11:03 PMDispatchers.setMain(UnconfinedTestDispatcher(testScheduler))
in my test function, it works. But if I use a Rule instead to do it, it fails. I do create the viewmodel from withing the test function and I do have the @get:Rule
as the first thing in the test class. I really don’t understand what I’m doing wrong here. Any idea on what I am missing?jean
03/05/2025, 11:13 AM@kotlin.test.Test
annotation I’m using. If I replace it with the one from junit4, it works fine. I’m not sure if it’s a bug or an intended behaviour 🤷🏻