UNPKG

@codesweetly/react-youtube-playlist

Version:

A simple video gallery with a lightbox for displaying YouTube playlists in React apps.

20 lines (19 loc) 544 B
import { jest } from "@jest/globals"; var IntersectionObserver = (function () { function IntersectionObserver() { this.observe = jest.fn(); this.disconnect = jest.fn(); this.unobserve = jest.fn(); } return IntersectionObserver; }()); Object.defineProperty(window, "IntersectionObserver", { writable: true, configurable: true, value: IntersectionObserver, }); Object.defineProperty(global, "IntersectionObserver", { writable: true, configurable: true, value: IntersectionObserver, });