mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-17 23:47:33 +00:00
test(cli): read the transcribe ledger row as JSON, for Windows paths
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
2179733fe5
commit
87532c97b8
@@ -78,6 +78,6 @@ describe("HeyGen transcription", () => {
|
||||
mkdirSync(join(dir, "work"));
|
||||
await transcribeWithHeygen(audio, join(dir, "work", "transcript.json"));
|
||||
const rows = readFileSync(join(dir, ".hyperframes/heygen-jobs.jsonl"), "utf8");
|
||||
expect(rows).toContain(`transcribe ${audio}`);
|
||||
expect(JSON.parse(rows.trim().split("\n")[0]!).what).toBe(`transcribe ${audio}`);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user