/*!
 * Copyright (c) 2026 Vertex Software LLC. All rights reserved.
 */
// This file contains imports for any browser polyfills that are needed by
// tests.
import "abortcontroller-polyfill/dist/polyfill-patch-fetch";
import { ResizeObserver } from "resize-observer";
/* eslint-disable @typescript-eslint/no-empty-function */
/* eslint-disable @typescript-eslint/no-explicit-any */
global.ResizeObserver = ResizeObserver;
global.MessageEvent = class extends Event {
    constructor(type, initDict) {
        super(type);
        this.data = initDict === null || initDict === void 0 ? void 0 : initDict.data;
    }
};
global.CloseEvent = class extends Event {
    constructor(type, initDict) {
        super(type);
        this.code = initDict === null || initDict === void 0 ? void 0 : initDict.code;
        this.reason = initDict === null || initDict === void 0 ? void 0 : initDict.reason;
    }
};
global.MutationObserver = class {
    constructor() { }
    disconnect() { }
    observe() { }
};
//# sourceMappingURL=polyfills.js.map
