From 3760e6fb25a85d9e9325c928bd86f7391bb614aa Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Wed, 15 Apr 2026 08:03:20 +0200 Subject: [PATCH] Fix type assertion in box-brush-face-editing test --- tests/domain/box-brush-face-editing.command.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/domain/box-brush-face-editing.command.test.ts b/tests/domain/box-brush-face-editing.command.test.ts index bc72b0de..52a8e6a5 100644 --- a/tests/domain/box-brush-face-editing.command.test.ts +++ b/tests/domain/box-brush-face-editing.command.test.ts @@ -217,7 +217,7 @@ describe("box brush face editing commands", () => { updateUvState: (uvState, faceId) => ({ ...uvState, offset: { - x: BOX_FACE_IDS.indexOf(faceId), + x: BOX_FACE_IDS.indexOf(faceId as (typeof BOX_FACE_IDS)[number]), y: uvState.offset.y + 1 }, scale: {