@@ -286,12 +286,6 @@ describe('stdio/header', () => {
286286 expect ( consoleLogSpy ) . toHaveBeenCalledWith ( '═' . repeat ( 55 ) )
287287 } )
288288
289- it ( 'should handle long title' , ( ) => {
290- const longTitle = 'A' . repeat ( 100 )
291- printHeader ( longTitle )
292- expect ( consoleLogSpy ) . toHaveBeenNthCalledWith ( 2 , ` ${ longTitle } ` )
293- } )
294-
295289 it ( 'should not return a value' , ( ) => {
296290 const result = printHeader ( 'Title' )
297291 expect ( result ) . toBeUndefined ( )
@@ -303,16 +297,6 @@ describe('stdio/header', () => {
303297 expect ( typeof printFooter ) . toBe ( 'function' )
304298 } )
305299
306- it ( 'should print footer with message' , ( ) => {
307- printFooter ( 'Complete' )
308- expect ( consoleLogSpy ) . toHaveBeenCalledTimes ( 2 )
309- } )
310-
311- it ( 'should print footer without message' , ( ) => {
312- printFooter ( )
313- expect ( consoleLogSpy ) . toHaveBeenCalledTimes ( 1 )
314- } )
315-
316300 it ( 'should print border' , ( ) => {
317301 printFooter ( )
318302 expect ( consoleLogSpy ) . toHaveBeenCalledWith ( '─' . repeat ( 55 ) )
@@ -329,14 +313,6 @@ describe('stdio/header', () => {
329313 expect ( consoleLogSpy ) . toHaveBeenCalledWith ( '─' . repeat ( 55 ) )
330314 } )
331315
332- it ( 'should print message in green' , ( ) => {
333- printFooter ( 'Success' )
334- expect ( consoleLogSpy ) . toHaveBeenCalledTimes ( 2 )
335- // Message is colored green (implementation detail)
336- const messageCall = consoleLogSpy . mock . calls [ 1 ] [ 0 ]
337- expect ( typeof messageCall ) . toBe ( 'string' )
338- } )
339-
340316 it ( 'should handle long message' , ( ) => {
341317 const longMessage = 'A' . repeat ( 100 )
342318 printFooter ( longMessage )
0 commit comments