v0.1.3
msw-inspector v0.1.3
Installable npm release for the MSW mock coverage analyzer.
Install
npm install -D msw-inspector-cli
The package is published as msw-inspector-cli because msw-inspector is already taken on npm. The installed CLI binary remains msw-inspector.
Run
npx msw-inspectorafter installnpx msw-inspector-clifor one-off usage
Highlights
- Scan MSW handlers from
http.*and legacyrest.*APIs. - Scan API usage from
fetch,window.fetch,globalThis.fetch, and commonaxioscall shapes. - Report mocked API calls, unmocked API calls, stale handlers, and unsupported dynamic patterns.
- Emit stable JSON output with
schemaVersion: 1. - Ship a GitHub Action that publishes job summaries and optional sticky PR comments from the JSON report.
Validation
npm run checknpm run build