react-native-navigation的迁移库

test.all.js 446B

123456789101112131415
  1. /* tslint:disable: no-console */
  2. const exec = require('shell-utils').exec;
  3. async function run() {
  4. exec.execSync(`npm run clean`);
  5. exec.execSync(`npm run test-js`);
  6. exec.execAsyncSilent(`npm run start`);
  7. await exec.execAsyncAll(`npm run test-unit-android`, `npm run test-unit-ios`);
  8. await exec.execAsyncAll(`npm run test-e2e-android`, `npm run test-e2e-ios`);
  9. exec.execSync(`npm run clean`);
  10. console.log('ALL PASSED!!!');
  11. }
  12. run();