We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 495b5c5 commit be2bb30Copy full SHA for be2bb30
1 file changed
lib/setupTests.ts
@@ -21,7 +21,7 @@ Object.defineProperty(HTMLElement.prototype, 'scrollTo', {
21
22
// This mock is necessary because JSDOM does not implement IntersectionObserver
23
export class IntersectionObserverMock implements IntersectionObserver {
24
- static instances: IntersectionObserverMock[] = [];
+ static readonly instances: IntersectionObserverMock[] = [];
25
callback: IntersectionObserverCallback;
26
elements: Element[] = [];
27
root: Element | Document | null = null;
0 commit comments