We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28f6bc0 commit 51a5f05Copy full SHA for 51a5f05
spec/v2/providers/https.spec.ts
@@ -580,8 +580,8 @@ describe("onCallGenkit", () => {
580
run: sinon.stub(),
581
stream: sinon.stub(),
582
};
583
- flow.run.withArgs("answer").returns(42);
584
- flow.stream.onCall(0).throws("Unexpected stream");
+ flow.run.withArgs("answer").returns({ result: 42 });
+ flow.stream.throws("Unexpected stream");
585
586
const f = https.onCallGenkit(flow);
587
0 commit comments