yarn msw 0.19.1

latest releases: 2.3.0, 2.2.14, 2.3.0-ws.rc-6...
3 years ago

Features

  • Calling ctx.delay() without any arguments now simulates a random realistic server response time in a range between 100-400ms (#192, #198). Responses in Node are instantaneous.

Bug fixes

  • Fixes an issue that resulted into Uncaught (in promise) SyntaxError: Unexpected end of input exception when processing a request. Internally, a request’s body is now always retrieved as text, parsing it as JSON is delegated to the client side (based on the Content-Type header) (#200, #201).

Don't miss a new msw release

NewReleases is sending notifications on new releases.