(config, udid)
| 516 | } |
| 517 | |
| 518 | async function bootSimulator(config, udid) { |
| 519 | await localJson( |
| 520 | config, |
| 521 | `/api/simulators/${encodeURIComponent(udid)}/boot`, |
| 522 | {}, |
| 523 | ); |
| 524 | await execFileAsync("xcrun", ["simctl", "bootstatus", udid, "-b"], { |
| 525 | timeout: 600000, |
| 526 | }); |
| 527 | } |
| 528 | |
| 529 | async function simulatorByUdid(config, udid) { |
| 530 | const list = await localGet(config, "/api/simulators"); |
no test coverage detected