message: Fix test to work with the latest eslint rules
diff: @@ -18,16 +18,15 @@ const defaultProps = {
  };
  // Mocking the window so that the injected components are imported correctly
  -const { location } = window;
  beforeAll((): void => {
  - // @ts-ignore
  - delete window.location;
  - // @ts-ignore
  - window.location = {
  - origin: "../../../../../docs/developer/examples/CustomComponent.min.js",
  - };
  + Object.defineProperty(window, "location", {
  + configurable: true,
  + writable: true,
  + value: { origin: "../../../../../docs/developer/examples/CustomComponent.min.js" },
  + });
  });
  afterAll((): void => {
  + // eslint-disable-next-line no-restricted-globals
  window.location = location;
  });
  