From a24b49e76d64c3daf7b13b45bdd158d6d67067fd Mon Sep 17 00:00:00 2001 From: Half-Shot Date: Fri, 15 May 2026 14:04:04 +0100 Subject: [PATCH] remove a test we no longer need --- .../components/structures/RoomView-test.tsx | 21 ------------------- 1 file changed, 21 deletions(-) diff --git a/apps/web/test/unit-tests/components/structures/RoomView-test.tsx b/apps/web/test/unit-tests/components/structures/RoomView-test.tsx index 155ad5d508..90cba684e7 100644 --- a/apps/web/test/unit-tests/components/structures/RoomView-test.tsx +++ b/apps/web/test/unit-tests/components/structures/RoomView-test.tsx @@ -1079,27 +1079,6 @@ describe("RoomView", () => { }); describe("handles Action.ComposerInsert", () => { - it("redispatches an empty composerType, timelineRenderingType with the current state", async () => { - await mountRoomView(); - const promise = untilDispatch((payload) => { - try { - expect(payload).toEqual({ - action: Action.ComposerInsert, - text: "Hello world", - timelineRenderingType: TimelineRenderingType.Room, - composerType: ComposerType.Send, - }); - } catch { - return false; - } - return true; - }, defaultDispatcher); - defaultDispatcher.dispatch({ - action: Action.ComposerInsert, - text: "Hello world", - } satisfies ComposerInsertPayload); - await promise; - }); it("redispatches an empty composerType with the current state", async () => { await mountRoomView(); const promise = untilDispatch((payload) => {