Compare commits

..

1 Commits

Author SHA1 Message Date
xiaoju d8b6974379 fix: OCAS_DIR → OCAS_HOME in test helpers
CI / check (pull_request) Failing after 1m15s
Remaining references to the old env name caused tests to use the
global ~/.ocas instead of per-test temp dirs.

Fixes #58
2026-06-04 10:59:53 +00:00
@@ -324,7 +324,7 @@ describe("currentRole field", () => {
try {
const wf = join(tmpDir, "test-current-role.yaml");
await writeFile(wf, SIMPLE_WORKFLOW_YAML, "utf8");
const { thread, workflow } = await cmdThreadStart(storageRoot, wf, "test", tmpDir);
const { thread } = await cmdThreadStart(storageRoot, wf, "test", tmpDir);
const tid = thread as ThreadId;
await createMarker(storageRoot, {