import { afterEach, jest } from "@jest/globals";
import { cleanupRO } from "../mocks/ResizeObserver.js";
/**
 * @param restoreAllMocks - Set to `false` to prevent `jest.restoreAllMocks()` from being
 * called.
 */ export function cleanupResizeObserverAfterEach(restoreAllMocks = true) {
    cleanupRO(afterEach, restoreAllMocks ? jest.restoreAllMocks : undefined);
}

//# sourceMappingURL=resize-observer.js.map