diff options
| author | Abhi <[email protected]> | 2025-06-11 16:40:31 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-06-11 16:40:31 -0400 |
| commit | 7a72d255d8effec1396170306cc6be57f598a6d8 (patch) | |
| tree | eab86a4d4d5f145a033eed06d16dedeba7b23a37 /packages/cli/src/ui/components/__snapshots__/SessionSummaryDisplay.test.tsx.snap | |
| parent | 4160d904da8328eb7168b5b652d4c0f17682546c (diff) | |
feat: Add exit UI w/ stats (#924)
Diffstat (limited to 'packages/cli/src/ui/components/__snapshots__/SessionSummaryDisplay.test.tsx.snap')
| -rw-r--r-- | packages/cli/src/ui/components/__snapshots__/SessionSummaryDisplay.test.tsx.snap | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/packages/cli/src/ui/components/__snapshots__/SessionSummaryDisplay.test.tsx.snap b/packages/cli/src/ui/components/__snapshots__/SessionSummaryDisplay.test.tsx.snap new file mode 100644 index 00000000..74b067b7 --- /dev/null +++ b/packages/cli/src/ui/components/__snapshots__/SessionSummaryDisplay.test.tsx.snap @@ -0,0 +1,45 @@ +// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html + +exports[`<SessionSummaryDisplay /> > renders correctly with given stats and duration 1`] = ` +"╭─────────────────────────────────────╮ +│ │ +│ Agent powering down. Goodbye! │ +│ │ +│ │ +│ Cumulative Stats (10 Turns) │ +│ │ +│ Input Tokens 1,000 │ +│ Output Tokens 2,000 │ +│ Tool Use Tokens 200 │ +│ Thoughts Tokens 300 │ +│ Cached Tokens 500 (14.3%) │ +│ ───────────────────────────────── │ +│ Total Tokens 3,500 │ +│ │ +│ Total duration (API) 50.2s │ +│ Total duration (wall) 1h 23m 45s │ +│ │ +╰─────────────────────────────────────╯" +`; + +exports[`<SessionSummaryDisplay /> > renders zero state correctly 1`] = ` +"╭─────────────────────────────────╮ +│ │ +│ Agent powering down. Goodbye! │ +│ │ +│ │ +│ Cumulative Stats (0 Turns) │ +│ │ +│ Input Tokens 0 │ +│ Output Tokens 0 │ +│ Tool Use Tokens 0 │ +│ Thoughts Tokens 0 │ +│ Cached Tokens 0 │ +│ ────────────────────────── │ +│ Total Tokens 0 │ +│ │ +│ Total duration (API) 0s │ +│ Total duration (wall) 0s │ +│ │ +╰─────────────────────────────────╯" +`; |
