Skip to main content
Jeden Skill in Manus ausführen
mit einem Klick

ng-mocks-testing

Sterne3
Forks1
Aktualisiert21. April 2026 um 06:30

Write Angular unit tests with ng-mocks (MockBuilder / MockRender / ngMocks) instead of raw TestBed. Use whenever creating or editing any `*.spec.ts` file in this Nx workspace — components, services, pipes, directives, guards, resolvers, interceptors, NgRx effects, or any Angular construct. Triggers on: "write a test for", "add a spec", "unit test this", "cover X with tests", "fix this failing test", editing any existing spec file, or any mention of Jest, Jasmine, TestBed, MockBuilder, MockRender, ngMocks. This skill is the default for authoring tests in this project — use it even when the user doesn't explicitly say "ng-mocks", because the house style requires ng-mocks over hand-rolled TestBed setup.

Installation

Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.

Datei-Explorer
4 Dateien
SKILL.md
readonly