fix: add missing workflow destructure in current-role test #57

Merged
xiaoju merged 1 commits from fix/56-ts-compile-error into main 2026-06-04 11:00:26 +00:00
@@ -324,7 +324,7 @@ describe("currentRole field", () => {
try { try {
const wf = join(tmpDir, "test-current-role.yaml"); const wf = join(tmpDir, "test-current-role.yaml");
await writeFile(wf, SIMPLE_WORKFLOW_YAML, "utf8"); await writeFile(wf, SIMPLE_WORKFLOW_YAML, "utf8");
const { thread } = await cmdThreadStart(storageRoot, wf, "test", tmpDir); const { thread, workflow } = await cmdThreadStart(storageRoot, wf, "test", tmpDir);
const tid = thread as ThreadId; const tid = thread as ThreadId;
await createMarker(storageRoot, { await createMarker(storageRoot, {