LaunchKit · 2026

Setup & Installation

npx skills add https://github.com/LambdaTest/agent-skills --skill jest-skill
or paste the link and ask your coding assistant to install it
https://github.com/LambdaTest/agent-skills/tree/main/jest-skill
View on GitHub

What This Skill Does

Generates Jest test files for JavaScript and TypeScript projects, including unit tests, integration tests, mocks, snapshots, and async patterns. Also covers React component testing with Testing Library.

Gives you ready-made Jest patterns for mocking, async, snapshots, and React testing instead of digging through docs every time you need a specific setup.

When to use it

  • Writing unit tests for a new utility module with jest.fn() mocks
  • Adding snapshot tests to React components before a refactor
  • Mocking API calls and database modules in integration tests
  • Setting up table-driven tests with test.each for input validation
  • Testing async functions with resolves and rejects matchers