(options: InternalRequestOptions)
| 276 | } |
| 277 | |
| 278 | export function buildFlags(options: InternalRequestOptions): CommandFlags { |
| 279 | const leaseScope = leaseScopeFromOptions(options); |
| 280 | return stripUndefined({ |
| 281 | stateDir: options.stateDir, |
| 282 | daemonBaseUrl: options.daemonBaseUrl, |
| 283 | daemonAuthToken: options.daemonAuthToken, |
| 284 | daemonTransport: options.daemonTransport, |
| 285 | daemonServerMode: options.daemonServerMode, |
| 286 | ...leaseScopeToCommandFlags(leaseScope), |
| 287 | provider: options.provider, |
| 288 | providerSessionId: options.providerSessionId, |
| 289 | providerApp: options.providerApp, |
| 290 | providerOsVersion: options.providerOsVersion, |
| 291 | providerProject: options.providerProject, |
| 292 | providerBuild: options.providerBuild, |
| 293 | providerSessionName: options.providerSessionName, |
| 294 | awsProjectArn: options.awsProjectArn, |
| 295 | awsDeviceArn: options.awsDeviceArn, |
| 296 | awsAppArn: options.awsAppArn, |
| 297 | awsRegion: options.awsRegion, |
| 298 | awsInteractionMode: options.awsInteractionMode, |
| 299 | sessionIsolation: options.sessionIsolation, |
| 300 | platform: options.platform, |
| 301 | target: options.target, |
| 302 | device: options.device, |
| 303 | udid: options.udid, |
| 304 | serial: options.serial, |
| 305 | iosSimulatorDeviceSet: options.iosSimulatorDeviceSet, |
| 306 | iosXctestrunFile: options.iosXctestrunFile, |
| 307 | iosXctestDerivedDataPath: options.iosXctestDerivedDataPath, |
| 308 | iosXctestEnvDir: options.iosXctestEnvDir, |
| 309 | androidDeviceAllowlist: options.androidDeviceAllowlist, |
| 310 | surface: options.surface, |
| 311 | activity: options.activity, |
| 312 | launchConsole: options.launchConsole, |
| 313 | launchArgs: options.launchArgs, |
| 314 | relaunch: options.relaunch, |
| 315 | shutdown: options.shutdown, |
| 316 | saveScript: options.saveScript, |
| 317 | deviceHub: options.deviceHub, |
| 318 | noRecord: options.noRecord, |
| 319 | backMode: options.backMode, |
| 320 | metroHost: options.metroHost, |
| 321 | metroPort: options.metroPort, |
| 322 | bundleUrl: options.bundleUrl, |
| 323 | launchUrl: options.launchUrl, |
| 324 | snapshotInteractiveOnly: options.interactiveOnly, |
| 325 | snapshotDepth: options.depth, |
| 326 | snapshotScope: options.scope, |
| 327 | snapshotRaw: options.raw, |
| 328 | snapshotForceFull: options.forceFull, |
| 329 | ...screenshotFlagsFromOptions(options), |
| 330 | appsFilter: options.appsFilter, |
| 331 | kind: options.kind, |
| 332 | out: options.out, |
| 333 | count: options.count, |
| 334 | fps: options.fps, |
| 335 | screenshotMaxSize: options.maxSize, |
no test coverage detected