You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(rn): update test docs to use devbox run -e instead of wrapper scripts
Update README, cheatsheet, testing guide, and CI-CD docs to show the
direct devbox run --pure -e pattern for platform-specific test execution
instead of the removed wrapper scripts.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- `EMU_HEADLESS=1`- Run Android emulator without display (CI)
192
+
- `SIM_HEADLESS=1`- Run iOS simulator without display (CI)
188
193
189
-
**Important:** When using `--pure` mode, environment variables must be passed with the `-e` flag:
190
-
```bash
191
-
# Correct way to skip Android SDK in pure mode
192
-
devbox run --pure -e ANDROID_SKIP_SETUP=1 test:e2e:ios
193
-
194
-
# Incorrect - env var gets reset to default
195
-
ANDROID_SKIP_SETUP=1 devbox run --pure test:e2e:ios
196
-
```
197
-
198
-
The wrapper scripts (`run-ios-tests.sh` and `run-android-tests.sh`) use the correct `-e` flag syntax automatically. This is particularly useful in CI/CD pipelines where you split platform tests into separate jobs.
194
+
**Important:** When using `--pure` mode, environment variables must be passed with the `-e` flag. Variables set in the parent shell are stripped by `--pure`.
0 commit comments