nextjs-vitest

Installation
SKILL.md

Set up Vitest testing environment for a Next.js project.

Steps

1. Install required packages

Run the following command:

npm install -D vitest @vitejs/plugin-react jsdom @testing-library/react @testing-library/dom vite-tsconfig-paths @testing-library/jest-dom @testing-library/user-event

2. Create vitest.config.mts

Create vitest.config.mts in the project root:

Installs
24
Repository
tenkoh/skills
First Seen
Mar 5, 2026