Find TestCoroutineDispatcher allocations

Proprietary

TestCoroutineDispatcher was deprecated alongside runBlockingTest. The replacements are StandardTestDispatcher (queues all coroutines to a scheduler) and UnconfinedTestDispatcher (runs them eagerly on the current thread) — pick based on whether the test wants explicit advancement of virtual time.

org.openrewrite.kotlin.testing.FindTestCoroutineDispatcherUsage$KtRecipe
mod run . --recipe='org.openrewrite.kotlin.testing.FindTestCoroutineDispatcherUsage$KtRecipe'

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.