← All recipes
Moderne licensed

Find removed Testability pending request methods

Recipe IDorg.openrewrite.angular.search.find-testability-pending-request-usageArtifact@openrewrite/recipes-angular

Finds imports of Testability from @angular/core, which had increasePendingRequestCount, decreasePendingRequestCount, and getPendingRequestCount removed in Angular 18. These are now tracked with zones.

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-testability-pending-request-usage

If the recipe isn’t available locally, install it with:

mod config recipes npm install @openrewrite/recipes-angular