brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
nextjs-testingWrite Jest or Vitest unit tests with React Testing Library and Playwright E2E tests for Next.js projects. Use when testing components with RTL, mocking APIs with MSW, or creating Playwright user flow tests.
Independent GitHub snapshot · Automated classification · Original documentation governs
jest@29 + babel-jest + jest-environment-jsdom).userEvent (async) for clicks, typing, form submissions.server and browser handlers are correctly configured.userEvent (async) to simulate user actions: await user.click(button).getByRole / findByRole to test accessibility. Use data-testid only as fallback.jest-environment-jsdom. For Vitest, configure vitest.config.ts with jsdom or happy-dom.