From 9bea34af348e5ffb614769cd9020b3692b281823 Mon Sep 17 00:00:00 2001 From: Adam Mathes Date: Fri, 13 Feb 2026 17:02:54 -0800 Subject: fix(v2): remove distracting selection styles and fix build (NK-8rhpp3) --- frontend/src/setupTests.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'frontend') diff --git a/frontend/src/setupTests.ts b/frontend/src/setupTests.ts index 2afa12e..052d18e 100644 --- a/frontend/src/setupTests.ts +++ b/frontend/src/setupTests.ts @@ -6,15 +6,15 @@ class IntersectionObserver { readonly rootMargin: string = ''; readonly thresholds: ReadonlyArray = []; - constructor(callback: IntersectionObserverCallback, options?: IntersectionObserverInit) { + constructor(_callback: IntersectionObserverCallback, _options?: IntersectionObserverInit) { // nothing } - observe(target: Element): void { + observe(_target: Element): void { // nothing } - unobserve(target: Element): void { + unobserve(_target: Element): void { // nothing } @@ -33,7 +33,7 @@ Object.defineProperty(window, 'IntersectionObserver', { value: IntersectionObserver, }); -Object.defineProperty(global, 'IntersectionObserver', { +Object.defineProperty(globalThis, 'IntersectionObserver', { writable: true, configurable: true, value: IntersectionObserver, -- cgit v1.2.3