Jest Skills
Delightful JavaScript testing framework. Run unit and integration tests with snapshots, mocking, and code coverage.
6 skills
Async Testing Patterns
Test asynchronous code reliably in Jest — Promises, async/await, callbacks, timers, and event-driven architectures with proper error handling and timeout management.
Custom Matchers and Test Utilities
Create custom Jest matchers with expect.extend to build domain-specific assertions that make tests more expressive and reduce boilerplate across your test suite.
Mocking Strategies with jest.mock and spyOn
Master Jest mocking — learn when to use jest.mock, jest.spyOn, and manual mocks to isolate units under test while keeping tests maintainable and meaningful.
Snapshot Testing Best Practices
Use Jest snapshot testing effectively — when to snapshot, how to review diffs, inline snapshots vs file snapshots, and avoiding snapshot fatigue.
Test Driven Development
Use when implementing any feature or bugfix, before writing implementation code.
Testing Patterns
Jest testing patterns, factory functions, mocking strategies, and TDD workflow.