File tree Expand file tree Collapse file tree
packages/provider-limrun/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import {
22 appStateUse ,
3+ appsRuntimeUse ,
34 bootTargetUse ,
45 narrowDeviceBinding ,
56 type PlatformRequestScope ,
@@ -154,6 +155,7 @@ test('keeps exact-owner app-log recovery available without a process-local sessi
154155 expect ( binding . operations . appLogReattach ) . toEqual ( expect . any ( Function ) ) ;
155156 expect ( binding . operations . appState ) . toBeUndefined ( ) ;
156157 expect ( binding . operations . ensureReady ) . toBeUndefined ( ) ;
158+ expect ( binding . operations . listApps ) . toBeUndefined ( ) ;
157159 expect ( binding . facts . operations . appLogInspect ) . toMatchObject ( {
158160 available : false ,
159161 reason : 'unsupported-provider-mode' ,
@@ -168,8 +170,13 @@ test('keeps exact-owner app-log recovery available without a process-local sessi
168170 available : false ,
169171 reason : 'unsupported-provider-mode' ,
170172 } ) ;
173+ expect ( binding . facts . operations . listApps ) . toMatchObject ( {
174+ available : false ,
175+ reason : 'unsupported-provider-mode' ,
176+ } ) ;
171177 expect ( ( ) => narrowDeviceBinding ( binding , appStateUse ) ) . toThrow ( ) ;
172178 expect ( ( ) => narrowDeviceBinding ( binding , bootTargetUse ) ) . toThrow ( ) ;
179+ expect ( ( ) => narrowDeviceBinding ( binding , appsRuntimeUse ) ) . toThrow ( ) ;
173180 await expect ( binding . operations . appLogReattach ?.( { envelope } ) ) . resolves . toEqual ( {
174181 status : 'missing' ,
175182 } ) ;
Original file line number Diff line number Diff line change @@ -321,6 +321,7 @@ function recoveryFacts(device: DeviceInfo): RuntimeFacts<PlatformRuntimeOperatio
321321 ensureReady : liveSessionUnavailable ,
322322 bootTarget : liveSessionUnavailable ,
323323 bootTargetHeadless : liveSessionUnavailable ,
324+ listApps : liveSessionUnavailable ,
324325 } ,
325326 } ) ;
326327}
You can’t perform that action at this time.
0 commit comments