Find runBlockingTest { ... } calls
ProprietaryrunBlockingTest was deprecated in kotlinx-coroutines-test 1.6 in favor of runTest { … }, which uses a TestCoroutineScheduler instead of the old DelayController. The new API has a cleaner contract around how child coroutines are awaited.
org. openrewrite. kotlin. testing. FindRunBlockingTestCall$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. testing. FindRunBlockingTestCall$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.