360 Secure SkillHub
360 安全技能中心

angular-testing

该技能原用于 Angular v20+ 单元与集成测试,涉及 signals、OnPush、inject 服务和 HTTP 交互;当前已弃用,正文仅保留迁移与移除提示,未提供实际测试方法、示例或配置。

analogjs
热度 60.08
最近更新 2026-10-19 02:03:30
分类:开发依赖:纯提示词应用场景:代码生成

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add analogjs/angular-skills/angular-testing
Metadata
name
angular-testing
description
DEPRECATED - this skill is unmaintained. Use the official Angular skills at https://github.com/angular/skills instead. Write unit and integration tests for Angular v20+ applications using Vitest or Jasmine with TestBed and modern testing patterns. Use for testing components with signals, OnPush change detection, services with inject(), and HTTP interactions. Triggers on test creation, testing signal-based components, mocking dependencies, or setting up test infrastructure. Don't use for E2E testing with Cypress or Playwright, or for testing non-Angular JavaScript/TypeScript code.

Angular Testing

⚠️ Deprecated. This skill is no longer maintained, and its guidance has been removed rather than left to go stale. The Angular team now publishes official skills at angular/skills — install those instead:

npx skills add https://github.com/angular/skills

To remove these: npx skills remove analogjs/angular-skills

The previous contents of this skill remain available in this repository's git history.