typescript-unit-testing
75 / 100 · Review before installing
Check before installing. Some of what it can do is expected: a coding skill usually runs build and test commands.
Unit testing for TypeScript/NestJS projects using Jest, @golevelup/ts-jest (DeepMocked/createMock), and in-memory databases, with AAA structure. Use whenever the user is working on `.spec.ts` files or asks to set up Jest, write/add tests for a service/usecase/controller/guard/interceptor/pipe/filter, mock dependencies, review test quality or coverage, run unit tests, debug failing or flaky tests, or optimize test performance and open handles.
What this skill can do
Runs commands on your computer
Connects to the internet
Downloads and installs other software
Safer alternatives
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'typescript-unit-testing' ] || [ -L ~/.agents/skills/'typescript-unit-testing' ]; then echo 'A skill folder named typescript-unit-testing already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/bmad-labs/skills' "$d" && git -C "$d" checkout --quiet 'c636fe5b40f0f6a5fb1fd3a14e7735bd2428eef5' -- 'skills/typescript-unit-testing' && mkdir -p ~/.agents/skills && cp -R "$d"/'skills/typescript-unit-testing' ~/.agents/skills/'typescript-unit-testing' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'typescript-unit-testing' ~/.claude/skills/'typescript-unit-testing' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
[](https://zalavijaysinh.github.io/skilltrust/repos/bmad-labs/skills/)
Score history
| Date | Version | Score |
|---|---|---|
| 2026-11-11 | c636fe5 | 75 |
| 2026-11-08 | c965156 | 95 |