Replace async with waitForAsync

Proprietary

Replaces the removed async test helper from @angular/core/testing with waitForAsync. The async function was deprecated in Angular 11 and removed in Angular 18.

org.openrewrite.angular.migration.replace-async-with-wait-for-async
mod run . --recipe=org.openrewrite.angular.migration.replace-async-with-wait-for-async

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