diff options
| author | Maze Winther <mazewinther@gmail.com> | 2026-04-15 06:26:55 +0200 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2026-04-15 06:26:55 +0200 |
| commit | 8161de00e684db1f78fa56f88ba3612b54af9b68 (patch) | |
| tree | 8187b4dc87b7525ac17be8516accd22a17ae65fc /apps/web/src/services | |
| parent | eb28942dab4b2efe73c6be10ad1defa520f7790a (diff) | |
| download | opencut-8161de00e684db1f78fa56f88ba3612b54af9b68.tar.gz | |
chore: formatting
Diffstat (limited to 'apps/web/src/services')
| -rw-r--r-- | apps/web/src/services/storage/migrations/__tests__/v1-to-v2.test.ts | 8 | ||||
| -rw-r--r-- | apps/web/src/services/storage/migrations/transformers/v1-to-v2.ts | 4 |
2 files changed, 3 insertions, 9 deletions
diff --git a/apps/web/src/services/storage/migrations/__tests__/v1-to-v2.test.ts b/apps/web/src/services/storage/migrations/__tests__/v1-to-v2.test.ts index 56c83403..9cea9a2e 100644 --- a/apps/web/src/services/storage/migrations/__tests__/v1-to-v2.test.ts +++ b/apps/web/src/services/storage/migrations/__tests__/v1-to-v2.test.ts @@ -1,7 +1,5 @@ import { describe, expect, test } from "bun:test"; -import { - DEFAULT_BACKGROUND_BLUR_INTENSITY, -} from "@/lib/background/blur"; +import { DEFAULT_BACKGROUND_BLUR_INTENSITY } from "@/lib/background/blur"; import { DEFAULT_BACKGROUND_COLOR } from "@/lib/background/color"; import { DEFAULT_CANVAS_SIZE } from "@/lib/canvas/sizes"; const DEFAULT_FPS = 30; @@ -135,9 +133,7 @@ describe("V1 to V2 Migration", () => { const settings = result.project.settings as Record<string, unknown>; const background = settings.background as Record<string, unknown>; - expect(background.blurIntensity).toBe( - DEFAULT_BACKGROUND_BLUR_INTENSITY, - ); + expect(background.blurIntensity).toBe(DEFAULT_BACKGROUND_BLUR_INTENSITY); }); test("preserves currentSceneId", async () => { diff --git a/apps/web/src/services/storage/migrations/transformers/v1-to-v2.ts b/apps/web/src/services/storage/migrations/transformers/v1-to-v2.ts index b6b38f3c..a19269cd 100644 --- a/apps/web/src/services/storage/migrations/transformers/v1-to-v2.ts +++ b/apps/web/src/services/storage/migrations/transformers/v1-to-v2.ts @@ -1,6 +1,4 @@ -import { - DEFAULT_BACKGROUND_BLUR_INTENSITY, -} from "@/lib/background/blur"; +import { DEFAULT_BACKGROUND_BLUR_INTENSITY } from "@/lib/background/blur"; import { DEFAULT_BACKGROUND_COLOR } from "@/lib/background/color"; import { DEFAULT_CANVAS_SIZE } from "@/lib/canvas/sizes"; const DEFAULT_FPS = 30; |
