From 15a381b7d2d6dc04109bfaa8dd43f735bfcf1ebb Mon Sep 17 00:00:00 2001 From: Resham Joshi <65915470+iamtoruk@users.noreply.github.com> Date: Mon, 20 Jul 2026 14:18:20 -0700 Subject: [PATCH] test: cli-emitters expects the title field sessions rows now carry (#789) The #782 titles threading added title to the sessions JSON row shape but missed this emitter test's key list; caught by the first full-suite run since the merge. Co-authored-by: reviewer --- tests/cli-emitters.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/cli-emitters.test.ts b/tests/cli-emitters.test.ts index 5f57448..1611409 100644 --- a/tests/cli-emitters.test.ts +++ b/tests/cli-emitters.test.ts @@ -87,7 +87,7 @@ describe('CLI JSON emitters', () => { const rows = JSON.parse(result.stdout) as Array> expect(rows).toHaveLength(2) expect(Object.keys(rows[0]!)).toEqual([ - 'sessionId', 'project', 'provider', 'models', 'cost', 'savingsUSD', 'calls', 'turns', + 'sessionId', 'title', 'project', 'provider', 'models', 'cost', 'savingsUSD', 'calls', 'turns', 'inputTokens', 'outputTokens', 'cacheReadTokens', 'cacheWriteTokens', 'startedAt', 'endedAt', 'durationMs', ])