This skill should be used when the user asks to 'write tests', 'add test coverage', 'test a component', 'test an API route', 'test a hook', 'set up Vitest', 'use React Testing Library', 'mock an API', or mentions 'component testing', 'integration tests', 'vitest', 'RTL', 'msw', 'testing library'. Provides JavaScript/TypeScript testing patterns using Vitest and React Testing Library for Next.js applications.
$npx -y skills add iwritec0de/app-dev --skill js-testingInstalls into the current project.
Run `npx skills use "https://github.com/iwritec0de/app-dev" --skill "iwritec0de/app-dev/js-testing"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/iwritec0de/app-dev" that are relevant to the current task. Run `npx skills add "https://github.com/iwritec0de/app-dev"` and select the relevant skills, then follow their instructions.