@@ -1205,7 +1205,7 @@ describe('ACP server test', { timeout: 40_000 }, () => {
12051205 } ) ;
12061206 } ) ;
12071207
1208- it ( 'removes session bookkeeping after unstable_closeSession ' , async ( ) => {
1208+ it ( 'removes session bookkeeping after closeSession ' , async ( ) => {
12091209 const mockFixture = createCodexMockTestFixture ( ) ;
12101210 const codexAcpAgent = mockFixture . getCodexAcpAgent ( ) ;
12111211 const codexAcpClient = mockFixture . getCodexAcpClient ( ) ;
@@ -1223,7 +1223,7 @@ describe('ACP server test', { timeout: 40_000 }, () => {
12231223 } ) ;
12241224
12251225 await expect (
1226- codexAcpAgent . unstable_closeSession ( { sessionId : sessionState . sessionId } )
1226+ codexAcpAgent . closeSession ( { sessionId : sessionState . sessionId } )
12271227 ) . resolves . toEqual ( { } ) ;
12281228 expect ( closeSpy ) . toHaveBeenCalledWith ( sessionState . sessionId , sessionState . currentTurnId ) ;
12291229 expect ( ( ) => codexAcpAgent . getSessionState ( sessionState . sessionId ) ) . toThrow (
@@ -1248,7 +1248,7 @@ describe('ACP server test', { timeout: 40_000 }, () => {
12481248 codexAcpAgent . sessions . set ( sessionState . sessionId , sessionState ) ;
12491249
12501250 await expect (
1251- codexAcpAgent . unstable_closeSession ( { sessionId : sessionState . sessionId } )
1251+ codexAcpAgent . closeSession ( { sessionId : sessionState . sessionId } )
12521252 ) . resolves . toEqual ( { } ) ;
12531253
12541254 expect ( closeSpy ) . toHaveBeenCalledWith ( sessionState . sessionId , "turn-pending" ) ;
@@ -1284,7 +1284,7 @@ describe('ACP server test', { timeout: 40_000 }, () => {
12841284 } ) ;
12851285
12861286 await expect (
1287- codexAcpAgent . unstable_closeSession ( { sessionId : sessionState . sessionId } )
1287+ codexAcpAgent . closeSession ( { sessionId : sessionState . sessionId } )
12881288 ) . resolves . toEqual ( { } ) ;
12891289
12901290 resolveTryHandle ( false ) ;
0 commit comments