Skip to content

Commit 3642c22

Browse files
committed
style(test): format shared test stubs
1 parent 0b53789 commit 3642c22

3 files changed

Lines changed: 2 additions & 10 deletions

File tree

‎src/agent/director.test.ts‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ import {
4242

4343
const mockState: ReactorState = { turns: [] } as unknown as ReactorState;
4444

45-
4645
// Varied arguments per call so the fingerprint changes turn to turn, like
4746
// real tool-only orchestration.
4847
function toolOnlyTurn(id: string): ReactorInboundEvent {

‎src/agent/tool-execution-watchdog.test.ts‎

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -458,10 +458,7 @@ describe("tool execution watchdog", () => {
458458
{ salvageGraceMs: TEST_SALVAGE_GRACE_MS, waitForApproval: true },
459459
);
460460
parent.abort();
461-
const outcome = await settleOrTimeout(
462-
pending,
463-
TEST_SALVAGE_GRACE_MS + 500,
464-
);
461+
const outcome = await settleOrTimeout(pending, TEST_SALVAGE_GRACE_MS + 500);
465462
if (outcome.kind === "timeout") {
466463
throw new Error("watchdog did not settle after parent abort + grace");
467464
}
@@ -498,10 +495,7 @@ describe("tool execution watchdog", () => {
498495
{ salvageGraceMs: TEST_SALVAGE_GRACE_MS, waitForApproval: true },
499496
);
500497
parent.abort();
501-
const outcome = await settleOrTimeout(
502-
pending,
503-
TEST_SALVAGE_GRACE_MS + 500,
504-
);
498+
const outcome = await settleOrTimeout(pending, TEST_SALVAGE_GRACE_MS + 500);
505499
if (outcome.kind === "timeout") {
506500
throw new Error("watchdog did not settle after parent abort + grace");
507501
}

‎src/director-workflows.test.ts‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ const state: ReactorState = {
3737
sessionId: "test-session",
3838
};
3939

40-
4140
const flow: Workflow = {
4241
name: "flow",
4342
description: "two steps",

0 commit comments

Comments
 (0)