ReadableStream
support, ESM-compatibility, and countless bug fixes.
Codemod supports a mostly automated MSW v2 upgrade experience. This page provides tips and resources you may need for a successful migration.
Installation
Run codemods
Fix false negatives
req.body
in your interceptors, this codemod will blindly assume you want await request.json()
instead of any other type. You will have to correct that manually.