msw 2.3.0-ws.rc-5 → 2.3.0-ws.rc-6

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.
@@ -1158,6 +1158,7 @@ Please consider using a custom "serviceWorker.url" option to point to the actual
1158
1158
 
1159
1159
  // src/browser/setupWorker/stop/createStop.ts
1160
1160
  import { devUtils as devUtils9 } from '../core/utils/internal/devUtils.mjs';
1161
+ import { MSW_WEBSOCKET_CLIENTS_KEY } from '../core/ws/WebSocketClientManager.mjs';
1161
1162
 
1162
1163
  // src/browser/setupWorker/stop/utils/printStopMessage.ts
1163
1164
  import { devUtils as devUtils8 } from '../core/utils/internal/devUtils.mjs';
@@ -1183,6 +1184,7 @@ var createStop = (context) => {
1183
1184
  context.workerChannel.send("MOCK_DEACTIVATE");
1184
1185
  context.isMockingEnabled = false;
1185
1186
  window.clearInterval(context.keepAliveInterval);
1187
+ localStorage.removeItem(MSW_WEBSOCKET_CLIENTS_KEY);
1186
1188
  printStopMessage({ quiet: context.startOptions?.quiet });
1187
1189
  };
1188
1190
  };