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 -y skills add lambdatest/agent-skills --skill jest-skillInstalls into the current project.
Run `npx skills use "https://github.com/lambdatest/agent-skills" --skill "lambdatest/agent-skills/jest-skill"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/lambdatest/agent-skills" that are relevant to the current task. Run `npx skills add "https://github.com/lambdatest/agent-skills"` and select the relevant skills, then follow their instructions.