From 2aa1ddf1bf66f45577e9e2558ce4786cf46d04f5 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Wed, 22 Apr 2026 14:04:22 +0200 Subject: [PATCH] auto-git: [change] tests/domain/create-box-brush.command.test.ts --- tests/domain/create-box-brush.command.test.ts | 39 +++++++++---------- 1 file changed, 18 insertions(+), 21 deletions(-) diff --git a/tests/domain/create-box-brush.command.test.ts b/tests/domain/create-box-brush.command.test.ts index 8e6b631b..49fd1952 100644 --- a/tests/domain/create-box-brush.command.test.ts +++ b/tests/domain/create-box-brush.command.test.ts @@ -291,26 +291,24 @@ describe("box brush commands", () => { createSetBoxBrushVolumeSettingsCommand({ brushId: createdBrush.id, volume: { - mode: "water", - water: { - colorHex: "#3a7dc2", - surfaceOpacity: 0.65, - waveStrength: 0.4, - foamContactLimit: 6, - surfaceDisplacementEnabled: false + mode: "light", + light: { + colorHex: "#ffd9a6", + intensity: 1.75, + padding: 0.45, + falloff: "smoothstep" } } }) ); expect(store.getState().document.brushes[createdBrush.id].volume).toEqual({ - mode: "water", - water: { - colorHex: "#3a7dc2", - surfaceOpacity: 0.65, - waveStrength: 0.4, - foamContactLimit: 6, - surfaceDisplacementEnabled: false + mode: "light", + light: { + colorHex: "#ffd9a6", + intensity: 1.75, + padding: 0.45, + falloff: "smoothstep" } }); @@ -321,13 +319,12 @@ describe("box brush commands", () => { expect(store.redo()).toBe(true); expect(store.getState().document.brushes[createdBrush.id].volume).toEqual({ - mode: "water", - water: { - colorHex: "#3a7dc2", - surfaceOpacity: 0.65, - waveStrength: 0.4, - foamContactLimit: 6, - surfaceDisplacementEnabled: false + mode: "light", + light: { + colorHex: "#ffd9a6", + intensity: 1.75, + padding: 0.45, + falloff: "smoothstep" } }); });