message: test(service-worker): replace `global || window` with `globalThis`
  `global` property is not available in the browser, previously this was polyfilled through `core-js`. This now fails with `global is not defined`, since global cannot be accessed when not defined.
  PR Close
diff: @@ -91,7 +91,7 @@ import {MockPushManager, MockPushSubscription, MockServiceWorkerContainer, MockS
  ],
  });
  - const context: any = global || window;
  + const context: any = globalThis;
  const originalDescriptor = Object.getOwnPropertyDescriptor(context, 'navigator');
  const patchedDescriptor = {value: {serviceWorker: undefined}, configurable: true};
  @@ -120,7 +120,7 @@ import {MockPushManager, MockPushSubscription, MockServiceWorkerContainer, MockS
  ]
  });
  - const context: any = global || window;
  + const context: any = globalThis;
  const originalDescriptor = Object.getOwnPropertyDescriptor(context, 'navigator');
  const patchedDescriptor = {value: {serviceWorker: mock}, configurable: true};
  