@@ -50,7 +50,7 @@ describe("upsertLearningStatusComment β usage history accumulation", () => {
5050
5151 const body = parseBody ( post ) ;
5252 expect ( body ) . toContain ( "π’ API μ¬μ©λ (gpt-4.1-nano)" ) ;
53- expect ( body ) . toContain ( "| # 1 | 100 | 50 | 150 |" ) ;
53+ expect ( body ) . toContain ( "| 1 | 100 | 50 | 150 |" ) ;
5454 // single-row history => no totals row
5555 expect ( body ) . not . toContain ( "**ν©κ³**" ) ;
5656 // hidden marker stores an array
@@ -99,9 +99,9 @@ describe("upsertLearningStatusComment β usage history accumulation", () => {
9999
100100 const body = parseBody ( patch ) ;
101101 // all three calls present, in order
102- expect ( body ) . toContain ( "| # 1 | 100 | 50 | 150 |" ) ;
103- expect ( body ) . toContain ( "| # 2 | 200 | 80 | 280 |" ) ;
104- expect ( body ) . toContain ( "| # 3 | 300 | 120 | 420 |" ) ;
102+ expect ( body ) . toContain ( "| 1 | 100 | 50 | 150 |" ) ;
103+ expect ( body ) . toContain ( "| 2 | 200 | 80 | 280 |" ) ;
104+ expect ( body ) . toContain ( "| 3 | 300 | 120 | 420 |" ) ;
105105 // totals row appears once history.length > 1
106106 expect ( body ) . toContain ( "| **ν©κ³** | **600** | **250** | **850** |" ) ;
107107 // marker is rewritten with the full array
@@ -146,7 +146,7 @@ describe("upsertLearningStatusComment β usage history accumulation", () => {
146146 const patch = calls . find ( ( c ) => c . init . method === "PATCH" ) ;
147147 const body = parseBody ( patch ) ;
148148
149- expect ( body ) . toContain ( "| # 1 | 999 | 111 | 1,110 |" ) ;
149+ expect ( body ) . toContain ( "| 1 | 999 | 111 | 1,110 |" ) ;
150150 expect ( body ) . not . toContain ( "**ν©κ³**" ) ;
151151
152152 globalThis . fetch = originalFetch ;
0 commit comments