msw-dev-tool 1.1.13 → 1.1.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cjs/index.js CHANGED
@@ -11863,7 +11863,7 @@ const getHandlerResponseByBehavior = async (behavior, originalResolverCallback)
11863
11863
  return new Response();
11864
11864
  }
11865
11865
  if (behavior === CustomBehavior.RETURN_NULL) {
11866
- return new msw.HttpResponse(null, { status: 200 });
11866
+ return msw.HttpResponse.json(null, { status: 200 });
11867
11867
  }
11868
11868
  if (behavior === CustomBehavior.NETWORK_ERROR) {
11869
11869
  return msw.HttpResponse.error();