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/esm/index.js CHANGED
@@ -11843,7 +11843,7 @@ const getHandlerResponseByBehavior = async (behavior, originalResolverCallback)
11843
11843
  return new Response();
11844
11844
  }
11845
11845
  if (behavior === CustomBehavior.RETURN_NULL) {
11846
- return new HttpResponse(null, { status: 200 });
11846
+ return HttpResponse.json(null, { status: 200 });
11847
11847
  }
11848
11848
  if (behavior === CustomBehavior.NETWORK_ERROR) {
11849
11849
  return HttpResponse.error();