(device: DeviceInfo)
| 285 | } |
| 286 | |
| 287 | export async function openIosDevice(device: DeviceInfo): Promise<void> { |
| 288 | if (isMacOs(device)) { |
| 289 | return; |
| 290 | } |
| 291 | if (device.kind !== 'simulator') return; |
| 292 | const state = await getSimulatorState(device); |
| 293 | if (state === 'Booted') return; |
| 294 | |
| 295 | await ensureBootedSimulator(device); |
| 296 | } |
| 297 | |
| 298 | export async function closeIosApp(device: DeviceInfo, app: string): Promise<void> { |
| 299 | if (isMacOs(device)) { |
no test coverage detected
searching dependent graphs…