aboutsummaryrefslogtreecommitdiffstats
path: root/frontend/src
diff options
context:
space:
mode:
authorAdam Mathes <adam@adammathes.com>2026-02-13 17:02:54 -0800
committerAdam Mathes <adam@adammathes.com>2026-02-13 17:02:54 -0800
commit9bea34af348e5ffb614769cd9020b3692b281823 (patch)
treef936388a29b1afff4bbd151385f17c4fe627f7d2 /frontend/src
parenta1b1a1c3d96a819b305d33f5f2ff10dc05825902 (diff)
downloadneko-9bea34af348e5ffb614769cd9020b3692b281823.tar.gz
neko-9bea34af348e5ffb614769cd9020b3692b281823.tar.bz2
neko-9bea34af348e5ffb614769cd9020b3692b281823.zip
fix(v2): remove distracting selection styles and fix build (NK-8rhpp3)
Diffstat (limited to 'frontend/src')
-rw-r--r--frontend/src/setupTests.ts8
1 files changed, 4 insertions, 4 deletions
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<number> = [];
- 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,