testing - Write user-centric tests for Nuxt fitness apps
Provides Testing Library best practices for component, API, and database tests in a fitness app.
Tags
Updated: 2026-10-08Typical Inputs
Typical Outputs
What this skill does
- Write component tests
- Test API routes
- Test database queries
- Query accessible output
- Simulate user interactions
- Handle asynchronous state
Inputs
- Component code
- API routes
- Database query functions
- Nuxt application
Outputs
- Test files
- Test results
Requirements
- Vitest
- Testing Library
- Nuxt Test Utils
- Nuxt application environment
