style: fix test indentation to match project conventions
This commit is contained in:
@@ -177,9 +177,9 @@ describe("OperatorChat", () => {
|
|||||||
|
|
||||||
await user.click(screen.getByRole("button", { name: /run prepared workflow/i }));
|
await user.click(screen.getByRole("button", { name: /run prepared workflow/i }));
|
||||||
expect(runPreparedWorkflow).toHaveBeenCalledTimes(1);
|
expect(runPreparedWorkflow).toHaveBeenCalledTimes(1);
|
||||||
});
|
});
|
||||||
|
|
||||||
it("routes schema approval submit and cancel through the timeline agent when present", async () => {
|
it("routes schema approval submit and cancel through the timeline agent when present", async () => {
|
||||||
const user = userEvent.setup();
|
const user = userEvent.setup();
|
||||||
const submitSelectedIssues = vi.fn(async () => {});
|
const submitSelectedIssues = vi.fn(async () => {});
|
||||||
const cancelReview = vi.fn(async () => {});
|
const cancelReview = vi.fn(async () => {});
|
||||||
@@ -224,7 +224,7 @@ it("routes schema approval submit and cancel through the timeline agent when pre
|
|||||||
await user.click(screen.getByRole("button", { name: /cancel/i }));
|
await user.click(screen.getByRole("button", { name: /cancel/i }));
|
||||||
expect(submitSelectedIssues).toHaveBeenCalledTimes(1);
|
expect(submitSelectedIssues).toHaveBeenCalledTimes(1);
|
||||||
expect(cancelReview).toHaveBeenCalledTimes(1);
|
expect(cancelReview).toHaveBeenCalledTimes(1);
|
||||||
});
|
});
|
||||||
|
|
||||||
it("renders prepared run tool calls as workflow handoffs", () => {
|
it("renders prepared run tool calls as workflow handoffs", () => {
|
||||||
const messages: ReadonlyArray<AgentMessage> = [
|
const messages: ReadonlyArray<AgentMessage> = [
|
||||||
|
|||||||
Reference in New Issue
Block a user