"use strict";

exports.__esModule = true;
exports.getPopoverTestUtils = void 0;
/** specific functions and variables for test environment purposes */
var getPopoverTestUtils = exports.getPopoverTestUtils = {
  createRange: () => {
    document.createRange = () => ({
      setStart: () => null,
      setEnd: () => null,
      commonAncestorContainer: document.documentElement.querySelector('body')
    });
  },
  generateId: () => Math.floor((1 + Math.random()) * 0x10000).toString(16).substring(1)
};
//# sourceMappingURL=getPopoverTestUtils.js.map