cleanupTestCoroutines

abstract fun cleanupTestCoroutines(): Unit

Overrides UncaughtExceptionCaptor.cleanupTestCoroutines

Overrides DelayController.cleanupTestCoroutines

Call after the test completes. Calls UncaughtExceptionCaptor.cleanupTestCoroutines and DelayController.cleanupTestCoroutines.

Exceptions

Throwable - the first uncaught exception, if there are any uncaught exceptions.

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