msw-dev-tool
v3.2.3
Published
msw-dev-tool is a powerful library that enhances the Mock Service Worker (MSW) experience in React by providing an intuitive UI to control mock logic dynamically. It allows developers to modify mock data, adjust response statuses, and monitor API requests
Maintainers
Readme
Install
- npm:
npm i msw-dev-tool --save-dev- yarn:
yarn add msw-dev-tool --dev- pnpm:
pnpm add msw-dev-tool --save-devHow to use?
view docs
What features?
Handler Table
view docs
The handler table is a table that shows all the handlers in the project and control them.
Debugger
view docs
The Debugger allows you to test your mock handlers interactively:
- Open the Debugger by clicking any row in the Handler Table
- Enter the request parameters in the input fields
- Send a test request to see the mocked response
