Skip to content

Commit 1f37c11

Browse files
committed
test(runtime): the wizard double's resume takes the signal it is given
Claude-Session: https://claude.ai/code/session_01ADHkmSKdmdbBugjg8QSZGa Co-authored-by: Claude <noreply@anthropic.com>
1 parent 54d3f1a commit 1f37c11

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/runtime/src/action-confirmation-handoff-33690.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ function makeHarness(opts: { service?: unknown; audit?: unknown; screens?: Reado
109109
}),
110110
// A resume submits the current screen and moves the run on to the next
111111
// one, still `paused` under the same run id, or completes it after the last.
112-
resume: vi.fn(async (runId: string) => {
112+
resume: vi.fn(async (runId: string, _signal?: { variables?: Record<string, unknown> }) => {
113113
const run = runs.get(runId)!;
114114
run.screen += 1;
115115
if (run.screen < screens.length) {

0 commit comments

Comments
 (0)