diff options
| author | Adam Malczewski <[email protected]> | 2026-06-27 01:13:28 +0900 |
|---|---|---|
| committer | Adam Malczewski <[email protected]> | 2026-06-27 01:13:31 +0900 |
| commit | 2fa03f8d7410c2b8d6be8e10ad088863e83d7177 (patch) | |
| tree | 94e1923180ae38d571d34b578afecb0a18913c24 /vitest-setup.ts | |
| parent | 80f99665034a0e510300793205c162fc7a46769f (diff) | |
| parent | 08b12478636f4a5c86a1f3c40a843f2906b7c82f (diff) | |
| download | dispatch-web-2fa03f8d7410c2b8d6be8e10ad088863e83d7177.tar.gz dispatch-web-2fa03f8d7410c2b8d6be8e10ad088863e83d7177.zip | |
Merge branch 'dev' into feature/heartbeat
# Conflicts:
# src/app/App.svelte
# src/app/store.svelte.ts
# src/app/store.test.ts
# src/features/workspaces/ui/WorkspaceCard.test.ts
Diffstat (limited to 'vitest-setup.ts')
| -rw-r--r-- | vitest-setup.ts | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/vitest-setup.ts b/vitest-setup.ts index 10a3160..143ac96 100644 --- a/vitest-setup.ts +++ b/vitest-setup.ts @@ -5,12 +5,12 @@ import "fake-indexeddb/auto"; // controller uses both against the real transcript element when App mounts. Stub // the outermost edges so component tests can render without throwing. if (typeof Element !== "undefined" && typeof Element.prototype.scrollTo !== "function") { - Element.prototype.scrollTo = () => {}; + Element.prototype.scrollTo = () => {}; } if (typeof globalThis.ResizeObserver === "undefined") { - globalThis.ResizeObserver = class { - observe(): void {} - unobserve(): void {} - disconnect(): void {} - }; + globalThis.ResizeObserver = class { + observe(): void {} + unobserve(): void {} + disconnect(): void {} + }; } |
