@@ -291,14 +291,13 @@ describe("runtime hub", () => {
291291
292292 test ( "opens complete Runtime JSON from the detail action and scrolls" , async ( ) => {
293293 const core = new TestCoreClient ( ) ;
294- core . runtime . setGetResponse ( {
295- $metadata : { requestId : "runtime-request-metadata" } ,
296- ...getRuntimeResponse ( {
294+ core . runtime . setGetResponse (
295+ getRuntimeResponse ( {
297296 environmentVariables : Object . fromEntries (
298297 Array . from ( { length : 30 } , ( _ , index ) => [ `VARIABLE_${ index } ` , `value-${ index } ` ] ) ,
299298 ) ,
300299 } ) ,
301- } as GetAgentRuntimeResponse ) ;
300+ ) ;
302301 const r = renderScreen ( "/agentcore/runtime/get/runtime-123" , { core } ) ;
303302
304303 await waitForText ( r . lastFrame , "show the full JSON definition" ) ;
@@ -308,8 +307,6 @@ describe("runtime hub", () => {
308307 expect ( frame ) . toContain ( '"agentRuntimeId"' ) ;
309308 expect ( frame ) . toContain ( '"networkConfiguration"' ) ;
310309 expect ( frame ) . toContain ( '"lifecycleConfiguration"' ) ;
311- expect ( frame ) . not . toContain ( "$metadata" ) ;
312- expect ( frame ) . not . toContain ( "runtime-request-metadata" ) ;
313310 expect ( frame ) . not . toContain ( '"VARIABLE_29"' ) ;
314311 for ( let index = 0 ; index < 20 ; index += 1 ) await r . press ( "down" ) ;
315312 for ( let index = 0 ; index < 20 ; index += 1 ) await r . write ( "j" ) ;
0 commit comments