From 3c3ee371c0fc1609340b511495546c2990042eef Mon Sep 17 00:00:00 2001 From: reviewer Date: Mon, 20 Jul 2026 23:17:35 +0200 Subject: [PATCH] test: cli-emitters expects the title field sessions rows now carry 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. --- 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 5f57448d..1611409d 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', ])