Skip to content

Conversation

@tianchangNorth
Copy link

Pocket Mocker is a lightweight, zero-config visual debugging tool that lives directly in the browser. It intercepts fetch and XMLHttpRequest via Proxy, providing a floating UI that allows developers to modify API responses, simulate network latency, or trigger HTTP errors on the fly without modifying source code.

While tools like MSW are excellent for automated testing, Pocket Mocker fills a specific gap for rapid UI prototyping and mobile web (H5) debugging. Since it's an embedded NPM package rather than a browser extension, it works in environments where extensions aren't available (like mobile WebViews). It offers a "visual" alternative to code-first mocking libraries.

GitHub:https://github.com/tianchangNorth/pocket-mocker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant