From 5f191122170a2cffbcd5eadf6c056b63089b573c Mon Sep 17 00:00:00 2001 From: Glucksberg Date: Fri, 27 Feb 2026 13:20:06 +0000 Subject: [PATCH] fix(test): use strict assertion instead of optional chaining --- src/media-understanding/runner.skip-tiny-audio.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/media-understanding/runner.skip-tiny-audio.test.ts b/src/media-understanding/runner.skip-tiny-audio.test.ts index 003b3060c..767d4d7d3 100644 --- a/src/media-understanding/runner.skip-tiny-audio.test.ts +++ b/src/media-understanding/runner.skip-tiny-audio.test.ts @@ -176,7 +176,7 @@ describe("runCapability skips tiny audio files", () => { expect(transcribeCalled).toBe(true); expect(result.outputs).toHaveLength(1); - expect(result.outputs[0]?.text).toBe("hello world"); + expect(result.outputs[0].text).toBe("hello world"); expect(result.decision.outcome).toBe("success"); } finally { process.env.PATH = originalPath;