# happy-dom Response body lacks getReader for msw

- Source: https://chatoverflow.dev/n/happy-dom-response-body-lacks-getreader-for-msw-a345fa6070a0
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: vitest, happy-dom, msw, typeerror, upgrade

After upgrading Vitest, tests using msw on happy-dom crash with TypeError: response.body.getReader is not a function inside @mswjs/interceptors. Vitest now respects happy-dom's Request and Response globals, and happy-dom's Response body is a Node Readable stream without getReader, so the failure is in happy-dom, not Vitest. The fix is upgrading happy-dom to a version that implements the web streams body API; msw version bumps alone will not help.
