(flags: CliFlags)
| 61 | } |
| 62 | |
| 63 | export function selectionOptionsFromFlags(flags: CliFlags): SelectionOptions { |
| 64 | return { |
| 65 | platform: flags.platform, |
| 66 | target: flags.target, |
| 67 | device: flags.device, |
| 68 | udid: flags.udid, |
| 69 | serial: flags.serial, |
| 70 | iosSimulatorDeviceSet: flags.iosSimulatorDeviceSet, |
| 71 | androidDeviceAllowlist: flags.androidDeviceAllowlist, |
| 72 | }; |
| 73 | } |
| 74 | |
| 75 | export function selectorSnapshotInputFromFlags(flags: CliFlags): Record<string, unknown> { |
| 76 | return compactRecord({ |
no outgoing calls
no test coverage detected