fix(test): use strict assertion instead of optional chaining

This commit is contained in:
Glucksberg
2026-02-27 13:20:06 +00:00
committed by Peter Steinberger
parent 8039ef7dba
commit 5f19112217

View File

@@ -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;