Nextjs Testing

This skill should be used when writing or setting up tests for a Next.js application. Trigger when: configuring Vitest, Cypress, or Playwright for Next.js; writing unit tests for components or hooks; writing E2E tests; testing React Server Components; testing API routes or Route Handlers; testing Server Actions; setting up test infrastructure; choosing between testing tools; implementing data-testid attributes; testing authentication flows; mocking API responses with cy.intercept() or page.route(); troubleshooting test failures; testing with production builds; or asking about Next.js testing best practices, patterns, or anti-patterns.

aibot88 Updated 3 repo stars

File contents

aibot88/sec_skill_store/tree/main/skills/claudskills/nextjs-testing commit a253839ef2

Frequently asked questions

npx skillmds@latest add aibot88/nextjs-testing