msw 2.2.7 → 2.2.9

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/README.md CHANGED
@@ -100,7 +100,7 @@ const worker = setupWorker(
100
100
  )
101
101
 
102
102
  // 3. Start request interception by starting the Service Worker.
103
- worker.start()
103
+ await worker.start()
104
104
  ```
105
105
 
106
106
  Performing a `GET https://github.com/octocat` request in your application will result into a mocked response that you can inspect in your browser's "Network" tab:
@@ -1055,7 +1055,6 @@ function createResponseListener(context) {
1055
1055
  const { requestId } = responseJson;
1056
1056
  const request = context.requests.get(requestId);
1057
1057
  context.requests.delete(requestId);
1058
- console.log("RESPONSE LISTENER", responseJson, context.requests);
1059
1058
  if (responseJson.type?.includes("opaque")) {
1060
1059
  return;
1061
1060
  }