From 6e3eb5d869721a8e0271ac2f41b3354178dc299f Mon Sep 17 00:00:00 2001 From: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com> Date: Sat, 2 May 2026 20:32:12 +0000 Subject: [PATCH] fix(clawsweeper): address review for automerge-openclaw-openclaw-76021 (validation-1) --- ui/src/ui/app.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/src/ui/app.test.ts b/ui/src/ui/app.test.ts index 9b8c5441e47..33ef5bab3a5 100644 --- a/ui/src/ui/app.test.ts +++ b/ui/src/ui/app.test.ts @@ -102,7 +102,7 @@ describe("OpenClawApp dictation recorder lifecycle", () => { it("does not submit collected audio after a recorder error and later stop", async () => { const app = await createRecordingApp(); await app.toggleChatDictation(); - const recorder = MockMediaRecorder.instances[0]!; + const recorder = MockMediaRecorder.instances[0]; recorder.emitData(new Blob(["audio"], { type: "audio/webm" })); recorder.emitError("microphone failed"); @@ -118,7 +118,7 @@ describe("OpenClawApp dictation recorder lifecycle", () => { it("releases recorded chunks after copying them for normal transcription", async () => { const app = await createRecordingApp(); await app.toggleChatDictation(); - const recorder = MockMediaRecorder.instances[0]!; + const recorder = MockMediaRecorder.instances[0]; recorder.emitData(new Blob(["audio"], { type: "audio/webm" })); await app.toggleChatDictation();