How do I test flows with that new runTest? Turbine...
# coroutines
p
How do I test flows with that new runTest? Turbine always runs in a timeout:
Copy code
@Test
  fun myTest() = runTest {
    flow {
      delay(10.milliseconds)
      emit(Unit)
    }.test {
      awaitItem() shouldBe Unit
    }
  }