So I'm trying to write a test that uses a main dis...
# coroutines
a
So I'm trying to write a test that uses a main dispatcher that should mirror how the standard Android main dispatcher works (with immediate support) but I'm not getting the immediate part to work. I've correctly wired
isDispatchNeeded
to work and I see that it tried to run it directly but it gets caught in
DispatchedContinuation<*>.executeUnconfined(...)
because
eventLoop.isUnconfinedLoopActive
is true. Is there a sane approach to testing this?