Find zone.js-dependent test helper usage
Recipe ID
org.openrewrite.angular.search.find-fake-async-usageArtifact@openrewrite/recipes-angularFinds fakeAsync(), tick(), and waitForAsync() calls from @angular/core/testing. These zone.js-dependent test helpers are incompatible with Vitest, the default test runner in Angular 21. Migrate to native async/await patterns instead.
Single recipeProprietary
Usage
This recipe has no required configuration options. You’ll need the Moderne CLI configured before running the command below.
mod run . --recipe org.openrewrite.angular.search.find-fake-async-usageIf the recipe isn’t available locally, install it with:
mod config recipes npm install @openrewrite/recipes-angular