This skill enables agents to generate Mocha tests in JavaScript and TypeScript using Chai assertions and Sinon mocking. It provides ready-to-use code patterns for basic tests, async testing, stubbing/spying, and anti-pattern guidance. It also includes a quick-reference command table and pointers to deeper playbook sections covering CI/CD, Express/API testing, and more.
Domains: testing, development · Tags: frontend, backend, unit-testing, mocking · 2 downloads
mkdir -p .claude/skills
curl -sSL https://skillpatch.dev/install_skill/mocha-skill | tar -xz -C .claude/skills/Works with Claude Code, Cursor, GitHub Copilot, Codex and any agent that reads the open SKILL.md standard. Every skill on SkillPatch passes an automated 6-dimension security review before it is published.
Browse all skills · What are agent skills? · Quick setup guide