react-native-navigation的迁移库

test-e2e-android-locked.js 355B

1234567891011121314
  1. const _ = require('lodash');
  2. const exec = require('shell-utils').exec;
  3. const release = _.includes(process.argv, '--release');
  4. run();
  5. function run() {
  6. const suffix = release ? `release` : `debug`;
  7. const configuration = `android.emu.${suffix}.locked`;
  8. exec.execSync(`detox test --configuration ${configuration} -f "DeviceLocked.test.js"`)
  9. }