Added support for declarative launch arguments (#2399, @noomorph)
Now you can add default app launch args to any of your device configurations in Detox config:
"type": "ios.simulator",
"device": { "type": "iPhone 11" },
"launchArgs": {
"detoxPrintBusyIdleResources": "YES",
},
or pass them ad-hoc via CLI or environment variables, e.g.:
DETOX_APP_LAUNCH_ARGS="-detoxPrintBusyIdleResources YES" detox test ...
detox test ... --app-launch-args "-detoxPrintBusyIdleResources YES"