Project folders
App environment
Sets environment in each app's .env.js
and DETOX_ENABLE in that environment's
file (src/Config/env/<env>.ts). Detox never runs against
production. Metro serves the journey build, so a change applies on
the next app reload, no rebuild needed.
Detox build
Looks for the debug APK and the test APK (.detoxrc.js). If either
is missing, Run builds them first (npm run detox-emu-build) and
then starts the test. If both exist, it starts the test straight
away.