npm msw 0.26.1

latest releases: 2.4.9, 2.3.0-ws.rc-9, 2.3.0-ws.rc-8...
3 years ago

Features

  • onUnhandledRequest option will now suggest similar request handlers based on the URL/operation name similarity (#560).

Bug fixes

  • Fixes an issue that resulted in a 202 status response throwing an exception when the library attempted to re-create its Response instance for the response:* life-cycle event (#570).
  • Fixes an issue when a request handler stack trace wasn't handled properly on Windows machines (#566).
  • Fixes an issue when using the onUnhandledRequest: "error" option resulted in a thrown exception being gracefully handled by Axios (#544). The "error" value now prints to stderr directly instead of throwing an exception. An original request-related exception will become visible now as well.

Don't miss a new msw release

NewReleases is sending notifications on new releases.