cleanupTestCoroutines

Call after test code completes to ensure that the dispatcher is properly cleaned up.

Throws

if any pending tasks are active, however it will not throw for suspended coroutines.