@@ -254,7 +254,7 @@ describe("Codex plugin thread config", () => {
254254 const request = vi . fn ( async ( method : string , params ?: unknown ) => {
255255 if ( method === "app/list" ) {
256256 appListParams . push ( params as v2 . AppsListParams ) ;
257- return { data : [ appInfo ( "google-calendar-app" , true ) ] , nextCursor : null } ;
257+ return { data : [ appInfo ( "google-calendar-app" , true , false ) ] , nextCursor : null } ;
258258 }
259259 if ( method === "plugin/list" ) {
260260 return pluginList ( [ pluginSummary ( "google-calendar" , { installed : true , enabled : true } ) ] ) ;
@@ -375,7 +375,7 @@ describe("Codex plugin thread config", () => {
375375 allowDestructiveActions : true ,
376376 destructiveApprovalMode : "allow" ,
377377 } ,
378- message : "google-calendar-app is not accessible or enabled for google-calendar." ,
378+ message : "google-calendar-app is not accessible for google-calendar." ,
379379 } ,
380380 ] ) ;
381381 } ) ;
@@ -572,9 +572,7 @@ describe("Codex plugin thread config", () => {
572572 let installed = false ;
573573 const request = vi . fn ( async ( method : string , params ?: unknown ) => {
574574 if ( method === "plugin/list" ) {
575- return pluginList ( [
576- pluginSummary ( "google-calendar" , { installed, enabled : installed } ) ,
577- ] ) ;
575+ return pluginList ( [ pluginSummary ( "google-calendar" , { installed, enabled : installed } ) ] ) ;
578576 }
579577 if ( method === "plugin/read" ) {
580578 return pluginDetail ( "google-calendar" , [ appSummary ( "google-calendar-app" ) ] ) ;
0 commit comments