Skip to content
Back to skills

Angular Upgrade Testing Angular V21 Router Zone Platformlocation Tests

ASecurity

Review Angular 21 tests that rely on router navigation timing, Zone.js scheduling, or PlatformLocation behavior after an Angular 21 upgrade. Use when router and zone timing changes may alter fixture stability or navigation assertions.

  • 4 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 2, 2026
developmenttypescriptgoangulartesting

Security analysis

A100/100

Scanned October 2, 2026

npx -y skills add janpereira-dev/ngAutoPilot --skill angular--upgrade--testing--angular-v21-router-zone-platformlocation-tests --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Angular Upgrade Testing Angular V21 Router Zone Platformlocation Tests?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Angular  Upgrade  Testing  Angular V21 Router Zone Platformlocation Tests
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/janpereira-dev-angular-upgrade-testing-angular-v21-router-zone-pl/badge)](https://www.skillsdirectory.com/skills/janpereira-dev-angular-upgrade-testing-angular-v21-router-zone-pl)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
id: angular.upgrade.testing.angular-v21-router-zone-platformlocation-tests
name: Angular v21 Router Zone PlatformLocation Tests
description: >
  Review Angular 21 tests that rely on router navigation timing, Zone.js scheduling, or PlatformLocation behavior after an Angular 21 upgrade. Use when router and zone timing changes may alter fixture stability or navigation assertions.
stack:
  - Angular
  - TypeScript
category: testing
status: stable
version: 0.10.0
owner: NgAutoPilot
triggers:
  - router tests
  - Zone.js timing
  - PlatformLocation
  - navigation assertions
compatibility:
  angular:
    min: "21"
---

# Angular v21 Router Zone PlatformLocation Tests

## Purpose

Review Angular 21 router, Zone.js, and PlatformLocation tests.

## When to Use

- Tests rely on navigation timing.
- Tests use `PlatformLocation` or `MockPlatformLocation`.
- Zone timing affects fixture stability.

## When Not to Use

- The app has no timing-sensitive router tests.
- The app is still in a version hop.

## Required Inputs

- navigation specs
- PlatformLocation tests
- Zone-based async tests
- fakeAsync tests

## Procedure

1. Identify timing-sensitive navigation tests.
2. Review PlatformLocation assumptions.
3. Validate routing and async stability.

## Do

- Prefer explicit waits and assertions.
- Keep test fixes narrow.

## Do Not

- Do not add arbitrary timeouts.
- Do not mix this with the version hop.

## Review Checklist

- [ ] Navigation timing is understood.
- [ ] PlatformLocation assumptions are correct.
- [ ] Tests pass.

## Expected Output

1. Router/Zone test summary.
2. PlatformLocation review.
3. Test result.

## Exit Criteria

- Router/Zone timing risk is explicit.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…