You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Transforms a `MockedResponse` instance returned from a handler
* to a response instance supported by the lower tooling (i.e. interceptors).
*/
transformResponse?(response: Response): Response
This option used to exist to provide response format compatibility between the consumer and the interceptors. Now, it's always the Fetch API Response. We need to remove this option and its usage altogether.
The text was updated successfully, but these errors were encountered:
Scope
Improves an existing behavior
Compatibility
Feature description
This shouldn't be needed anymore:
msw/src/core/utils/handleRequest.ts
Lines 25 to 29 in 6702d77
This option used to exist to provide response format compatibility between the consumer and the interceptors. Now, it's always the Fetch API
Response
. We need to remove this option and its usage altogether.The text was updated successfully, but these errors were encountered: