msw 2.4.9 → 2.4.10

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/lib/iife/index.js CHANGED
@@ -28646,16 +28646,15 @@ Read more: https://mswjs.io/docs/getting-started/mocks`;
28646
28646
  }
28647
28647
  const [existingRegistration] = mockRegistrations;
28648
28648
  if (existingRegistration) {
28649
- return existingRegistration.update().then(() => {
28650
- return [
28651
- getWorkerByRegistration(
28652
- existingRegistration,
28653
- absoluteWorkerUrl,
28654
- findWorker
28655
- ),
28656
- existingRegistration
28657
- ];
28658
- });
28649
+ existingRegistration.update();
28650
+ return [
28651
+ getWorkerByRegistration(
28652
+ existingRegistration,
28653
+ absoluteWorkerUrl,
28654
+ findWorker
28655
+ ),
28656
+ existingRegistration
28657
+ ];
28659
28658
  }
28660
28659
  const registrationResult = await until(
28661
28660
  async () => {