UNPKG

@codesweetly/react-youtube-playlist

Version:

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

22 lines (21 loc) 655 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var globals_1 = require("@jest/globals"); var IntersectionObserver = (function () { function IntersectionObserver() { this.observe = globals_1.jest.fn(); this.disconnect = globals_1.jest.fn(); this.unobserve = globals_1.jest.fn(); } return IntersectionObserver; }()); Object.defineProperty(window, "IntersectionObserver", { writable: true, configurable: true, value: IntersectionObserver, }); Object.defineProperty(global, "IntersectionObserver", { writable: true, configurable: true, value: IntersectionObserver, });