I can remove the `undispatched` one, as I said, my...
# squarelibraries
j
I can remove the
undispatched
one, as I said, my problem is the
Unconfined
context
, and I really don't know if it is useful. Do you think
context
fits in
test
function?
Copy code
suspend fun <T> Flow<T>.test(
  timeout: Duration = 1.seconds,
  context: CoroutineContext = Unconfined,
  validate: suspend FlowTurbine<T>.() -> Unit
) {
  coroutineScope {
  ...

    val collectJob = launch(start = UNDISPATCHED, context = context) {
      ...
    }
  }
}