Jest Mocking Patterns

Teaches the agent the right way to mock in Jest — jest.fn, mockImplementation, mockResolvedValue, jest.mock factories, spyOn with restore, and isolating modules like axios.

PramodDutta Updated 246 repo stars

File contents

PramodDutta/qaskills commit 93365a572a

Frequently asked questions

npx get-skill add pramoddutta/jest-mocking-patterns