Simplify test setup in editor-store.test.ts

This commit is contained in:
2026-04-03 02:19:21 +02:00
parent ea8b8c4ba6
commit e801c93a90

View File

@@ -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({