Test React components with Vitest and Testing Library
/plugin marketplace add IvanTorresEdge/molcajete.ai/plugin install ivantorresedge-react-tech-stacks-js-react@IvanTorresEdge/molcajete.aihaiku# Test React Components Run component tests using Vitest and React Testing Library. Execute the following workflow: 1. Run component tests: 2. For watch mode (during development): 3. For coverage report: 4. For interactive UI: 5. To run specific test file: 6. To run tests matching a pattern: ## Test File Convention Tests should be placed in `__tests__/` directories: ## Test Structure Template ## Query Priority (Best Practices) 1. `getByRole` - Accessible queries (best) 2. `getByLabelText` - Form inputs 3. `getByPlaceholderText` - Inputs without label...