diff options
Diffstat (limited to 'frontend-vanilla')
| -rw-r--r-- | frontend-vanilla/src/main.test.ts | 2 | ||||
| -rw-r--r-- | frontend-vanilla/src/regression.test.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/frontend-vanilla/src/main.test.ts b/frontend-vanilla/src/main.test.ts index 8eb537e..da2c41c 100644 --- a/frontend-vanilla/src/main.test.ts +++ b/frontend-vanilla/src/main.test.ts @@ -23,7 +23,7 @@ vi.mock('./api', () => ({ // Mock IntersectionObserver as a constructor class MockIntersectionObserver { - constructor(callback: IntersectionObserverCallback) { + constructor() { // unused } observe = vi.fn(); diff --git a/frontend-vanilla/src/regression.test.ts b/frontend-vanilla/src/regression.test.ts index 2512f3f..94eb51e 100644 --- a/frontend-vanilla/src/regression.test.ts +++ b/frontend-vanilla/src/regression.test.ts @@ -1,7 +1,7 @@ import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest'; import { store } from './store'; import { apiFetch } from './api'; -import { updateItem, fetchItems, renderItems } from './main'; +import { renderItems } from './main'; // Mock api vi.mock('./api', () => ({ |
