(flags: CliFlags)
| 111 | } |
| 112 | |
| 113 | function resolveClientBackendPlatform(flags: CliFlags): AgentDeviceBackend['platform'] { |
| 114 | switch (flags.platform) { |
| 115 | case 'android': |
| 116 | case 'linux': |
| 117 | case 'macos': |
| 118 | return flags.platform; |
| 119 | case 'ios': |
| 120 | case 'apple': |
| 121 | default: |
| 122 | return 'ios'; |
| 123 | } |
| 124 | } |
| 125 | |
| 126 | function parseCliThreshold(threshold: string | undefined): number | undefined { |
| 127 | if (threshold == null || threshold === '') return undefined; |
no outgoing calls
no test coverage detected