fix: update test fixtures for extended interrupt contract
This commit is contained in:
@@ -22,7 +22,10 @@ const operation: OperationPresentation = {
|
|||||||
const contract: InterruptContractPresentation = {
|
const contract: InterruptContractPresentation = {
|
||||||
kind: "issue_review",
|
kind: "issue_review",
|
||||||
outcomes: ["submitted", "cancelled"],
|
outcomes: ["submitted", "cancelled"],
|
||||||
|
requestSchema: { type: "object" },
|
||||||
resumeSchema: { type: "object" },
|
resumeSchema: { type: "object" },
|
||||||
|
resumePayloadPreview: null,
|
||||||
|
resumeOutcome: null,
|
||||||
runId: "run_recorded_lda_report",
|
runId: "run_recorded_lda_report",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -33,7 +33,10 @@ describe("demo workflow presentation model", () => {
|
|||||||
expect(projectInterruptContract(requireEvent("run_start"))).toEqual({
|
expect(projectInterruptContract(requireEvent("run_start"))).toEqual({
|
||||||
kind: "issue_review",
|
kind: "issue_review",
|
||||||
outcomes: ["submitted", "cancelled"],
|
outcomes: ["submitted", "cancelled"],
|
||||||
|
requestSchema: { type: "object" },
|
||||||
resumeSchema: { type: "object" },
|
resumeSchema: { type: "object" },
|
||||||
|
resumePayloadPreview: null,
|
||||||
|
resumeOutcome: null,
|
||||||
runId: "run_recorded_lda_report",
|
runId: "run_recorded_lda_report",
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user