fix(test): use strict assertion instead of optional chaining
This commit is contained in:
committed by
Peter Steinberger
parent
8039ef7dba
commit
5f19112217
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user