Skip to content

armgit / ECC

Public Imported from GitHub
0

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

test(transcript): isolate the extracted reader missing-file probe

haelyrab327efcad330
diff --git a/tests/lib/transcript-context.test.js b/tests/lib/transcript-context.test.js
index cac68d1d0..96561f20f 100644
--- a/tests/lib/transcript-context.test.js
+++ b/tests/lib/transcript-context.test.js
@@ -338,7 +338,7 @@ test('is exported and returns the trailing bytes with a truncation flag', () =>
assert.deepStrictEqual(whole, { text: 'first-line\nsecond\nthird\n', truncated: false });
const tail = readFileTail(file, 6);
assert.deepStrictEqual(tail, { text: 'third\n', truncated: true });
- assert.strictEqual(readFileTail(path.join(os.tmpdir(), `missing-${process.pid}.jsonl`), 10), null);
+ assert.strictEqual(readFileTail(path.join(transcriptRoot, `missing-${process.pid}.jsonl`), 10), null);
});
// ── formatWindowLabel ──