mock-service
CommunityBuild reliable test doubles with mocked services.
AuthorOM-bit-hub
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Reduces flaky tests and brittle integrations by providing a structured approach to intercepting and mocking external API calls during automated testing.
Core Features & Use Cases
- MSW-based request interception for browser/React/Next.js tests
- Nock-based HTTP mocking for Node.js backend tests
- Custom mock servers for end-to-end testing
- Type-safe mock data factories and test doubles
- Per-test mock overrides and strict reset between tests
- Guidance on when to mock vs use real services
Quick Start
Set up MSW or Nock, create a mock factory, and wire it into your tests to begin intercepting requests.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: mock-service Download link: https://github.com/OM-bit-hub/daily_tracker/archive/main.zip#mock-service Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.