@zimic/interceptor
v1.3.3
Published
Next-gen TypeScript-first HTTP intercepting and mocking
Maintainers
Readme
@zimic/interceptor is a type-safe interceptor library for handling and mocking HTTP requests in development and
testing.
Highlights
:globe_with_meridians: HTTP interceptors
Use your
@zimic/httpschema to declare local and remote HTTP interceptors. Mock external services and simulate success, loading, and error states with ease and type safety.:link: Network-level interception
@zimic/interceptorcombines MSW and interceptor servers to handle real HTTP requests. From you application's point of view, the mocked responses are indistinguishable from the real ones.:bulb: Readability
@zimic/interceptorwas designed to encourage clarity and readability. Declare intuitive mocks, test with confidence, and verify that your application is making the expected requests with declarative assertions.
Learn more:
