Implement snapshot testing for components, APIs, and configurations
Set up snapshot testing for:
**Project Type:** {{PROJECT_TYPE}} (React/Vue/API/Config)
**Testing Framework:** {{FRAMEWORK}} (Jest/Vitest/pytest)
**Items to Snapshot:**
{{ITEMS_LIST}}
**Snapshot Testing Setup:**
1. **Component Snapshots (UI):**
- Default render state
- Various prop combinations
- Different viewport sizes
- Theme variations
2. **API Response Snapshots:**
- Successful responses
- Error responses
- Paginated responses
- Filtered/sorted responses
3. **Configuration Snapshots:**
- Generated configs
- Build outputs
- Schema validations
4. **Best Practices:**
- Snapshot naming conventions
- When to update vs investigate
- Handling dynamic data (dates, IDs)
- Snapshot size management
5. **CI Integration:**
- Snapshot commit policy
- PR review process
- Update workflow
**Generate:**
- Snapshot test examples
- Serializer configurations
- Dynamic data handlers
- Update scripts
- Review guidelinesOr press ⌘C to copy
Replace these placeholders with your own content before using the prompt.
[{PROJECT_TYPE][{FRAMEWORK][{ITEMS_LIST]