@@ -157,7 +157,7 @@ it.each(["activity", "work"] as const)(
157157 onToggle,
158158 } ) ;
159159 const container = summaryContainer ;
160- expect ( activity ?. textContent ) . toContain ( kind === "work" ? "Worked for 1 second " : "2 reads" ) ;
160+ expect ( activity ?. textContent ) . toContain ( kind === "work" ? "Worked for 1s " : "2 reads" ) ;
161161 if ( kind === "work" ) {
162162 expect ( activity ?. textContent ) . not . toContain ( "tool calls" ) ;
163163 expect ( activity ?. textContent ) . not . toContain ( "failed" ) ;
@@ -197,7 +197,7 @@ it.each([
197197 ) ;
198198 for ( const expanded of [ false , true ] ) {
199199 const summary = await renderSummary ( [ message ] , kind , { expanded } ) ;
200- expect ( summary ?. textContent ) . toContain ( kind === "work" ? "Worked for 1 second " : "1 read" ) ;
200+ expect ( summary ?. textContent ) . toContain ( kind === "work" ? "Worked for 1s " : "1 read" ) ;
201201 expect ( summary ?. textContent ) . not . toContain ( "failed" ) ;
202202 if ( kind === "work" ) {
203203 expect ( summary ?. textContent ?. includes ( "1 tool call" ) ) . toBe ( expanded ) ;
@@ -230,7 +230,7 @@ it.each(["activity", "work"] as const)(
230230 } ,
231231 ) ;
232232 const summary = await renderSummary ( [ message ] , kind ) ;
233- expect ( summary ?. textContent ) . toContain ( kind === "work" ? "Worked for 1 second " : "1 read" ) ;
233+ expect ( summary ?. textContent ) . toContain ( kind === "work" ? "Worked for 1s " : "1 read" ) ;
234234 expect ( summary ?. textContent ) . not . toContain ( "failed" ) ;
235235 if ( kind === "work" ) {
236236 expect ( summary ?. textContent ) . not . toContain ( "tool call" ) ;
@@ -247,7 +247,7 @@ it.each(["blocked", "skipped", undefined] as const)(
247247 } ) ;
248248 for ( const expanded of [ false , true ] ) {
249249 const summary = await renderSummary ( [ message ] , "work" , { expanded } ) ;
250- expect ( summary ?. textContent ) . toContain ( "Worked for 1 second " ) ;
250+ expect ( summary ?. textContent ) . toContain ( "Worked for 1s " ) ;
251251 expect ( summary ?. textContent ?. includes ( "1 tool call" ) ) . toBe ( expanded ) ;
252252 if ( status === "skipped" ) {
253253 expect ( summary ?. textContent ) . not . toMatch ( / s k i p p e d | b l o c k e d | f a i l e d / ) ;
0 commit comments