( input: CommonCommandInput, )
| 444 | } |
| 445 | |
| 446 | export function commonToClientOptions( |
| 447 | input: CommonCommandInput, |
| 448 | ): AgentDeviceRequestOverrides & AgentDeviceSelectionOptions { |
| 449 | return compactRecord({ |
| 450 | session: input.session, |
| 451 | platform: input.platform, |
| 452 | target: input.deviceTarget, |
| 453 | device: input.device, |
| 454 | udid: input.udid, |
| 455 | serial: input.serial, |
| 456 | iosSimulatorDeviceSet: input.iosSimulatorDeviceSet, |
| 457 | iosXctestrunFile: input.iosXctestrunFile, |
| 458 | iosXctestDerivedDataPath: input.iosXctestDerivedDataPath, |
| 459 | iosXctestEnvDir: input.iosXctestEnvDir, |
| 460 | androidDeviceAllowlist: input.androidDeviceAllowlist, |
| 461 | daemonBaseUrl: input.daemonBaseUrl, |
| 462 | daemonAuthToken: input.daemonAuthToken, |
| 463 | tenant: input.tenant, |
| 464 | runId: input.runId, |
| 465 | leaseId: input.leaseId, |
| 466 | cwd: input.cwd, |
| 467 | debug: input.debug, |
| 468 | }) as AgentDeviceRequestOverrides & AgentDeviceSelectionOptions; |
| 469 | } |
| 470 | |
| 471 | export function toClientInteractionTarget(target: InteractionTargetInput): InteractionTarget { |
| 472 | switch (target.kind) { |
no test coverage detected
searching dependent graphs…