I inject `CoroutineDispatcher`s in some classes I ...
# coroutines
p
I inject `CoroutineDispatcher`s in some classes I want to test and have no idea how to get that from a TestCoroutineScope
s
You get it from the scope's CoroutineContext
p
And how?
p
coroutineContext[ContinuationInterceptor] as TestCoroutineDispatcher
is what I use
s
Not sure what the key is, something like coroutineContext[ContinuationInterceptor]
p
Thanks that will do it 🙂