Skip to content

Commit 51a5f05

Browse files
committed
Fix test
1 parent 28f6bc0 commit 51a5f05

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/v2/providers/https.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -580,8 +580,8 @@ describe("onCallGenkit", () => {
580580
run: sinon.stub(),
581581
stream: sinon.stub(),
582582
};
583-
flow.run.withArgs("answer").returns(42);
584-
flow.stream.onCall(0).throws("Unexpected stream");
583+
flow.run.withArgs("answer").returns({ result: 42 });
584+
flow.stream.throws("Unexpected stream");
585585

586586
const f = https.onCallGenkit(flow);
587587

0 commit comments

Comments
 (0)