test-frontend-units
✓Vitest를 사용하여 Fake Survey Generator React 애플리케이션에 대한 프런트엔드 구성 요소 단위 테스트를 실행합니다. 이 기술은 React 구성 요소가 적절하게 테스트되었으며 기존 테스트가 계속 통과하는지 확인합니다. 테스트 실패 및 코드 적용 범위 측정항목을 보고합니다.
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 |
인용 가능한 정보
AI/검색 인용용 안정적인 필드와 명령어.
- 설치 명령어
npx skills add https://github.com/marcelmichau/fake-survey-generator --skill test-frontend-units- 카테고리
- </>개발 도구
- 인증됨
- ✓
- 최초 등록
- 2026-02-01
- 업데이트
- 2026-02-18
빠른 답변
test-frontend-units이란?
Vitest를 사용하여 Fake Survey Generator React 애플리케이션에 대한 프런트엔드 구성 요소 단위 테스트를 실행합니다. 이 기술은 React 구성 요소가 적절하게 테스트되었으며 기존 테스트가 계속 통과하는지 확인합니다. 테스트 실패 및 코드 적용 범위 측정항목을 보고합니다. 출처: marcelmichau/fake-survey-generator.
test-frontend-units 설치 방법은?
터미널 또는 명령줄 도구(Terminal, iTerm, Windows Terminal 등)를 엽니다 이 명령어를 복사하여 실행합니다: npx skills add https://github.com/marcelmichau/fake-survey-generator --skill test-frontend-units 설치 후 스킬은 자동으로 AI 코딩 환경에 설정되어 Claude Code나 Cursor에서 사용할 수 있습니다
소스 저장소는 어디인가요?
https://github.com/marcelmichau/fake-survey-generator
상세
- 카테고리
- </>개발 도구
- 출처
- skills.sh
- 최초 등록
- 2026-02-01