UNPKG

mock-request-animation-frame

Version:
14 lines (13 loc) 368 B
/** * This helper function will mock the clientHeight and clientWidth of the window object. * * @param options * @param {number} options.height defaults to 1000 * @param {number} options.width defaults to 1000 * */ declare const mockClientWindow: (options?: Partial<{ height: number; width: number; }> | undefined) => void; export { mockClientWindow };