Implement comprehensive testing strategies using Jest, Vitest, and Testing Library for unit tests, integration tests, and end-to-end testing with mocking, fixtures, and test-driven development. Use when writing JavaScript/TypeScript tests, setting up test infrastructure, or implementing TDD/BDD workflows.
安装
npx skills add wshobson/agents --skill javascript-testing-patternsnpx skills add wshobson/agents --skill javascript-testing-patterns -a claude-code -gnpx skills add wshobson/agents --skill javascript-testing-patterns -a codex -ggemini skills install https://github.com/wshobson/agents.git --path plugins/javascript-typescript/skills/javascript-testing-patternsgh skill install wshobson/agents javascript-testing-patternsgit clone --depth 1 https://github.com/wshobson/agents /tmp/wshobson__agents
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/wshobson__agents/plugins/javascript-typescript/skills/javascript-testing-patterns ~/.claude/skills/javascript-testing-patterns # Claude Code
cp -R /tmp/wshobson__agents/plugins/javascript-typescript/skills/javascript-testing-patterns ~/.agents/skills/javascript-testing-patterns # Codex, Cursor, Gemini CLI, Copilot, OpenCode