@@ -123,7 +123,7 @@ test.each(["dismissed", "refreshing"])(
123123 const locations : string [ ] = [ ]
124124 await using setup = await createAppFixture ( {
125125 state : state . path ,
126- config : { animations : false , tabs : { enabled : false } } ,
126+ config : { animations : false , tabs : { mode : "off" } } ,
127127 fetch : ( url ) => {
128128 if ( url . pathname === "/api/session" ) {
129129 if ( url . searchParams . has ( "parentID" ) ) {
@@ -447,7 +447,7 @@ test("vertical session tabs switch to horizontal below readable content width",
447447 state : state . path ,
448448 config : {
449449 animations : false ,
450- tabs : { enabled : true , layout : "vertical" , indicators : "status" } ,
450+ tabs : { mode : "on" , layout : "vertical" , indicators : "status" } ,
451451 session : { sidebar : "hide" } ,
452452 } ,
453453 args : { sessionID : session . id } ,
@@ -485,7 +485,7 @@ test("narrow vertical session tabs collapse to a compact rail with the terminal"
485485 state : state . path ,
486486 config : {
487487 animations : false ,
488- tabs : { enabled : true , layout : "vertical" , indicators : "status" } ,
488+ tabs : { mode : "on" , layout : "vertical" , indicators : "status" } ,
489489 session : { sidebar : "hide" } ,
490490 } ,
491491 args : { sessionID : session . id } ,
@@ -526,7 +526,7 @@ test("automatic rename refreshes the displayed title before settling, even witho
526526 width : 110 ,
527527 height : 20 ,
528528 state : state . path ,
529- config : { tabs : { enabled : true , layout : "vertical" } , session : { sidebar : "hide" } } ,
529+ config : { tabs : { mode : "on" , layout : "vertical" } , session : { sidebar : "hide" } } ,
530530 args : { sessionID : session . id } ,
531531 fetch : async ( url , request ) => {
532532 if ( url . pathname === "/api/location" ) return json ( location )
@@ -585,7 +585,7 @@ test.each([80, 120])("completes custom Markdown and ordinary fences in a session
585585 width,
586586 height : 55 ,
587587 state : state . path ,
588- config : { animations : false , tabs : { enabled : false } , session : { sidebar : "hide" } } ,
588+ config : { animations : false , tabs : { mode : "off" } , session : { sidebar : "hide" } } ,
589589 args : { sessionID : session . id } ,
590590 fetch : ( url ) => {
591591 if ( url . pathname === `/api/session/${ session . id } ` ) return json ( { data : session } )
@@ -690,7 +690,7 @@ test("keeps assistant footer metrics current after prepend, same-length refresh,
690690 width : 100 ,
691691 height : 40 ,
692692 state : state . path ,
693- config : { animations : false , tabs : { enabled : false } , session : { sidebar : "hide" , tps : true } } ,
693+ config : { animations : false , tabs : { mode : "off" } , session : { sidebar : "hide" , tps : true } } ,
694694 args : { sessionID : session . id } ,
695695 fetch : ( url ) => {
696696 if ( url . pathname === `/api/session/${ session . id } ` ) return json ( { data : session } )
@@ -886,7 +886,7 @@ test.each([false, true])("uses the resolved launch directory for new prompts (fa
886886 let session : unknown
887887 await using setup = await createAppFixture ( {
888888 state : state . path ,
889- config : { animations : false , tabs : { enabled : false } , keybinds : { "session.new" : "f6" } } ,
889+ config : { animations : false , tabs : { mode : "off" } , keybinds : { "session.new" : "f6" } } ,
890890 fetch : async ( url , request ) => {
891891 requests . push ( url )
892892 if ( url . searchParams . has ( "location[directory]" ) && url . searchParams . get ( "location[directory]" ) !== target )
@@ -1024,7 +1024,7 @@ test("completed user shell output replaces a partial live read when the final re
10241024 let failedReads = 0
10251025 await using setup = await createAppFixture ( {
10261026 state : state . path ,
1027- config : { animations : false , tabs : { enabled : false } , session : { sidebar : "hide" } } ,
1027+ config : { animations : false , tabs : { mode : "off" } , session : { sidebar : "hide" } } ,
10281028 args : { sessionID : session . id } ,
10291029 fetch : ( url ) => {
10301030 if ( url . pathname === "/api/session" ) return json ( { data : [ session ] , cursor : { } } )
@@ -1456,7 +1456,7 @@ test.each([100, 44])(
14561456 width,
14571457 state : state . path ,
14581458 args : { sessionID : session . id } ,
1459- config : { animations : false , tabs : { enabled : false } } ,
1459+ config : { animations : false , tabs : { mode : "off" } } ,
14601460 fetch : ( url ) => {
14611461 if ( url . pathname === "/api/session" ) return json ( { data : [ session ] , cursor : { } } )
14621462 if ( url . pathname === `/api/session/${ session . id } ` ) return json ( { data : session } )
@@ -1620,7 +1620,7 @@ test.each([44, 100])(
16201620 width,
16211621 state : state . path ,
16221622 args : { sessionID : session . id } ,
1623- config : { animations : false , tabs : { enabled : false } } ,
1623+ config : { animations : false , tabs : { mode : "off" } } ,
16241624 fetch : ( url ) => {
16251625 if ( url . pathname === "/api/session" ) return json ( { data : [ session ] , cursor : { } } )
16261626 if ( url . pathname === `/api/session/${ session . id } ` ) return json ( { data : session } )
0 commit comments