mocking-assistant - Create reliable API and service mocks
Creates stable mocks for APIs, services, and UI components using MSW, fixtures, and test patterns
Tags
Updated: 2026-05-11Capabilities
Typical Inputs
Typical Outputs
What this skill does
- define MSW handlers
- setup mock server
- create fixtures
- mock API responses
- mock service implementations
- spy on function calls
- control system time
- override test handlers
- mock HTTP requests
- mock GraphQL operations
Inputs
- test file
- API endpoint definitions
- service interfaces
- fixture data
- GraphQL schema
- module dependencies
Outputs
- MSW handler code
- mock server configuration
- fixture data objects
- HTTP response mocks
- mock service classes
- GraphQL handler code
- test-specific overrides
Requirements
- Vitest testing framework
- MSW library
- test runner environment
- TypeScript support
