react-native-navigation的迁移库

e2e.android.js 488B

123456789101112131415161718192021
  1. const _ = require('lodash');
  2. const shellUtils = require('shell-utils');
  3. const fs = require('fs');
  4. const release = _.includes(process.argv, 'release');
  5. function e2e() { //eslint-disable-line
  6. try {
  7. shellUtils.exec.execSync(`echo 'travis_fold:start:android-espresso'`);
  8. shellUtils.exec.execSync(`cd android && ./gradlew connectedDebugAndroidTest`);
  9. } finally {
  10. shellUtils.exec.execSync(`echo 'travis_fold:end:android-espresso'`);
  11. }
  12. }
  13. function run() {
  14. e2e();
  15. }
  16. run();