Find delay(...) calls inside test methods running on a real dispatcher
Proprietarydelay(ms) inside a test that uses runBlocking (not runTest) waits the literal duration in real time — a fast suite slows to a crawl. Inside runTest { }, delay advances virtual time instantly; the call shape is identical but the runner makes the difference.
org. openrewrite. kotlin. testing. FindDelayInTest$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. testing. FindDelayInTest$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.