# Unit Testing

> Use this skill to write or modify unit-tests in the application for non-component files.

- Skill: `majiayu000/unit-testing-6` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add majiayu000/unit-testing-6`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/unit-testing-6/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Web & Frontend
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/majiayu000/unit-testing-6

---


## Unit-testing

Use this skill to write or modify unit-tests in the application for non-component files.
You should not use this skill when creating tests for components!

## Testing workflows

- Use the workflow located in ./workflows/portal-testing.md for unit-testing in the `portal` project.
- Use the workflow located in ./workflows/api-testing.md for unit-testing in the `api` project. 
