From e801c93a901884048cf45b5db7fd444cb2499285 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Fri, 3 Apr 2026 02:19:21 +0200 Subject: [PATCH] Simplify test setup in editor-store.test.ts --- tests/domain/editor-store.test.ts | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/tests/domain/editor-store.test.ts b/tests/domain/editor-store.test.ts index d952e971..05211ff2 100644 --- a/tests/domain/editor-store.test.ts +++ b/tests/domain/editor-store.test.ts @@ -269,28 +269,7 @@ describe("EditorStore", () => { }); it("tracks a shared transient transform session and clears it when selection changes", () => { - const store = createEditorStore({ - initialDocument: { - ...createEmptySceneDocument({ name: "Transform Session Fixture" }), - brushes: { - "brush-main": { - id: "brush-main", - kind: "box", - center: { - x: 0, - y: 1, - z: 0 - }, - size: { - x: 2, - y: 2, - z: 2 - }, - faces: createEmptySceneDocument().brushes - } as never - } - } - }); + const store = createEditorStore(); store.setTransformSession( createTransformSession({