summaryrefslogtreecommitdiffhomepage
path: root/vitest-setup.ts
diff options
context:
space:
mode:
authorAdam Malczewski <[email protected]>2026-06-26 22:21:55 +0900
committerAdam Malczewski <[email protected]>2026-06-26 22:23:39 +0900
commit9b0b4e5ef52c5e4383d6c4a2041ca1a73ea4bc44 (patch)
treedb67a714911ab7cfa70c054c6951ffca1c58550d /vitest-setup.ts
parent306f28a7732e11e3de1c6d0c4d26cadb92b25d3e (diff)
downloaddispatch-web-9b0b4e5ef52c5e4383d6c4a2041ca1a73ea4bc44.tar.gz
dispatch-web-9b0b4e5ef52c5e4383d6c4a2041ca1a73ea4bc44.zip
style: switch from tabs to 2-space indentation (incl. svelte)
Diffstat (limited to 'vitest-setup.ts')
-rw-r--r--vitest-setup.ts12
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 {}
+ };
}