test-frontend-units
✓Executes frontend component unit tests for the Fake Survey Generator React application using Vitest. This skill validates that React components are properly tested and that existing tests continue to pass. Reports test failures and code coverage metrics.
Installation
SKILL.md
Use this skill to run unit tests for React components to validate that features are properly tested and components function as expected.
| "Unable to find an element" error | Selector doesn't match any elements | Use more specific selectors (getByRole, getByLabelText) or use screen.debug() | | Timeout in waitFor | Async operation not completing | Check mock setup, increase timeout, verify component updates state |
| Import errors in tests | Wrong import paths | Use relative paths from test file location (e.g., ../test/test-utils) | | Type errors with mocks | Mock return type mismatch | Ensure mock data matches component prop types | | Auth0 not mocked | Setup.ts not loading | Verify vitest.config.ts has correct setupFiles path |
Facts (cite-ready)
Stable fields and commands for AI/search citations.
- Install command
npx skills add https://github.com/marcelmichau/fake-survey-generator --skill test-frontend-units- Category
- </>Dev Tools
- Verified
- ✓
- First Seen
- 2026-02-01
- Updated
- 2026-02-18
Quick answers
What is test-frontend-units?
Executes frontend component unit tests for the Fake Survey Generator React application using Vitest. This skill validates that React components are properly tested and that existing tests continue to pass. Reports test failures and code coverage metrics. Source: marcelmichau/fake-survey-generator.
How do I install test-frontend-units?
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/marcelmichau/fake-survey-generator --skill test-frontend-units Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor
Where is the source repository?
https://github.com/marcelmichau/fake-survey-generator
Details
- Category
- </>Dev Tools
- Source
- skills.sh
- First Seen
- 2026-02-01