summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/components/__snapshots__/Stats.test.tsx.snap
blob: 9b0038918afcd4863af8e17dc1e7b3dd7ddbeddc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html

exports[`<DurationColumn /> > renders a duration column 1`] = `
"Duration

API Time                                      5s
Wall Time                                    10s"
`;

exports[`<StatRow /> > renders a label and value 1`] = `"Test Label                                                                                Test Value"`;

exports[`<StatRow /> > renders with a specific value color 1`] = `"Test Label                                                                                Test Value"`;

exports[`<StatsColumn /> > renders a cumulative stats column with percentages 1`] = `
"Cumulative Stats

Input Tokens                                                                                     100
Output Tokens                                                                                    200
Tool Use Tokens                                                                                   50
Thoughts Tokens                                                                                   25
Cached Tokens                                                                              10 (2.6%)
────────────────────────────────────────────────────────────────────────────────────────────────────
Total Tokens                                                                                     385"
`;

exports[`<StatsColumn /> > renders a stats column with a specific width 1`] = `
"Test Stats

Input Tokens                                   100
Output Tokens                                  200
Tool Use Tokens                                 50
Thoughts Tokens                                 25
Cached Tokens                                   10
──────────────────────────────────────────────────
Total Tokens                                   385"
`;

exports[`<StatsColumn /> > renders a stats column with children 1`] = `
"Test Stats

Input Tokens                                                                                     100
Output Tokens                                                                                    200
Tool Use Tokens                                                                                   50
Thoughts Tokens                                                                                   25
Cached Tokens                                                                                     10
────────────────────────────────────────────────────────────────────────────────────────────────────
Total Tokens                                                                                     385
Child Prop                                                                               Child Value"
`;