react-native-navigation的迁移库

test.e2e.android.js 436B

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