Use when writing component tests, testing hooks, setting up test infrastructure, or debugging test failures. Prevents the common mistake of testing implementation details instead of user-visible behavior. Covers React Testing Library, Vitest, render/screen/fireEvent/waitFor, renderHook, user-event,
Use when writing component tests, testing hooks, setting up test infrastructure, or debugging test failures. Prevents the common mistake of testing implementation details instead of user-visible behavior. Covers React Testing Library, Vitest, render/screen/fireEvent/waitFor, renderHook, user-event, act(), async testing, accessibility testing, snapshot testing. Keywords: Testing Library, Vitest, re