Skip to content

Commit 8227b08

Browse files
committed
Merge remote-tracking branch 'origin/main' into 1.31-releases
2 parents cb64d0d + a89c252 commit 8227b08

File tree

86 files changed

+2188
-726
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+2188
-726
lines changed

configs/mocha-config-compass/register/jsdom-global-register.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,13 @@ Object.defineProperty(globalThis.navigator, 'clipboard', {
4141
return clipboard;
4242
},
4343
});
44+
45+
if (!globalThis.IntersectionObserver) {
46+
globalThis.IntersectionObserver =
47+
window.IntersectionObserver = class IntersectionObserver {
48+
constructor() {}
49+
observe() {}
50+
unobserve() {}
51+
disconnect() {}
52+
};
53+
}

0 commit comments

Comments
 (0)