MCPcopy Create free account
hub / github.com/Silentely/eSIM-Tools / IntersectionObserver

Class IntersectionObserver

tests/setup.js:57–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55
56// 模拟 IntersectionObserver
57global.IntersectionObserver = class IntersectionObserver {
58 constructor() {}
59 disconnect() {}
60 observe() {}
61 unobserve() {}
62 takeRecords() {
63 return [];
64 }
65};
66
67// 模拟 Service Worker
68global.navigator.serviceWorker = {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected