@@ -39,13 +39,6 @@ test('admin runtime commands call typed backend primitives', async () => {
3939 const boot = await device . admin . boot ( { target : { id : 'SIM-1' } } ) ;
4040 assert . equal ( boot . kind , 'deviceBooted' ) ;
4141
42- const simulator = await device . admin . ensureSimulator ( {
43- device : 'iPhone 16' ,
44- runtime : 'iOS 18' ,
45- boot : true ,
46- } ) ;
47- assert . equal ( simulator . udid , 'SIM-1' ) ;
48-
4942 const installed = await device . admin . install ( {
5043 app : 'com.example.app' ,
5144 source : { kind : 'path' , path : '/tmp/Example.app' } ,
@@ -67,7 +60,6 @@ test('admin runtime commands call typed backend primitives', async () => {
6760 assert . deepEqual ( calls , [
6861 'listDevices' ,
6962 'bootDevice' ,
70- 'ensureSimulator' ,
7163 'installApp' ,
7264 'reinstallApp' ,
7365 'installApp' ,
@@ -252,16 +244,6 @@ function createAdminBackend(
252244 bootDevice : async ( ) => {
253245 calls . push ( 'bootDevice' ) ;
254246 } ,
255- ensureSimulator : async ( _context , options ) => {
256- calls . push ( 'ensureSimulator' ) ;
257- return {
258- udid : 'SIM-1' ,
259- device : options . device ,
260- runtime : options . runtime ?? 'iOS 18' ,
261- created : false ,
262- booted : true ,
263- } ;
264- } ,
265247 installApp : async ( _context , target ) => {
266248 calls . push ( 'installApp' ) ;
267249 onInstallSource ?.( target . source ) ;
0 commit comments