react-native-navigation的迁移库

test.e2e.android.js 353B

123456789101112131415
  1. const exec = require('shell-utils').exec;
  2. function run() {
  3. if (process.env.CI) {
  4. console.log(`android e2e disabled on CI for now`); //eslint-disable-line
  5. return;
  6. }
  7. exec.execSync(`yarn run uninstall-android`);
  8. exec.execSync(`yarn run install-android`);
  9. exec.execSync(`cd AndroidE2E && ./gradlew connectedDebugAndroidTest`);
  10. }
  11. run();