JS Unit Tests

Use for any question or task about JavaScript or TypeScript unit tests with Jest or Vitest, including quick how-to questions and tests for one function: mocking a module (jest.mock, vi.mock, vi.hoisted), spies and fake timers, path aliases that fail only in tests (`Cannot find module '@/...'`), coverage thresholds, watch mode and CI. Has authoring conventions and anti-patterns.

testland Updated 13 repo stars
testland/qa: quality engineering for Claude Code, one command away

File contents

testland/qa commit 983abd20ad

Frequently asked questions

npx get-skill add testland/js-unit-tests