test-middleware
CommunityTest middleware with realistic mocks and validations.
Authormadooei
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Provides structured guidance for testing authentication, validation, and other middleware by creating deterministic test contexts and mock services.
Core Features & Use Cases
- Mock authentication and request context for middleware.
- Verify next() behavior and error handling.
- Use with Vitest to ensure middleware correctness across scenarios.
Quick Start
Run the middleware tests with your project's test runner to execute middleware test suites and verify behavior.
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: test-middleware Download link: https://github.com/madooei/backend-template/archive/main.zip#test-middleware 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 223,000+ vetted skills library on demand.