Javascript Testing Patterns

Guides expert-level JavaScript and TypeScript testing: Vitest vs Jest decision tree, ESM mocking strategies, snapshot testing, coverage configuration, and test runner selection for modern projects. Use when the user asks about JavaScript testing, Vitest, Jest, mocking ESM, snapshot testing, coverage, test runner selection, TypeScript testing. Do NOT use when the user asks about Node.js project setup (use `nodejs-project-setup`), general testing concepts (use `unit-testing-patterns`), E2E testing (use `e2e-testing-patterns`).

FerroxLabs 630ed48 2 files · 41.0 KB Updated 37 repo stars

File contents

ferroxlabs/murage/tree/main/skills-library/javascript-testing-patterns commit 630ed488bc

Frequently asked questions

npx skillmds@latest add ferroxlabs/javascript-testing-patterns