Generates Jest unit and integration tests in JavaScript or TypeScript. Covers mocking, snapshots, async testing, and React component testing. Use when user mentions "Jest", "describe/it/expect", "jest.mock", "toMatchSnapshot". Triggers on: "Jest", "expect().toBe()", "jest.mock", "snapshot test", "JS test", "React test".
安装
npx skills add LambdaTest/agent-skills --skill jest-skillnpx skills add LambdaTest/agent-skills --skill jest-skill -a claude-code -gnpx skills add LambdaTest/agent-skills --skill jest-skill -a codex -ggemini skills install https://github.com/LambdaTest/agent-skills.git --path jest-skillgh skill install LambdaTest/agent-skills jest-skillgit clone --depth 1 https://github.com/LambdaTest/agent-skills /tmp/LambdaTest__agent-skills
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/LambdaTest__agent-skills/jest-skill ~/.claude/skills/jest-skill # Claude Code
cp -R /tmp/LambdaTest__agent-skills/jest-skill ~/.agents/skills/jest-skill # Codex, Cursor, Gemini CLI, Copilot, OpenCode