|
@@ -1,11 +1,14 @@
|
1
|
|
-
|
|
1
|
+/* eslint no-console:0 */
|
2
|
2
|
const exec = require('shell-utils').exec;
|
3
|
3
|
|
4
|
4
|
async function run() {
|
5
|
5
|
exec.execSync(`yarn run clean`);
|
6
|
|
- exec.execSync(`yarn run test-js & yarn run test-unit-android -- release & yarn run test-unit-ios -- release`);
|
7
|
|
- await Promise.all([exec.execAsync(`yarn run test-e2e-android -- release`), exec.execAsync(`yarn run test-e2e-ios -- release`)]);
|
8
|
|
- console.log('DONE!!!'); //eslint-disable-line
|
|
6
|
+ exec.execSync(`yarn run test-js`);
|
|
7
|
+ exec.execAsyncSilent(`yarn run start`);
|
|
8
|
+ await exec.execAsyncAll(`yarn run test-unit-android`, `yarn run test-unit-ios`);
|
|
9
|
+ await exec.execAsyncAll(`yarn run test-e2e-android`, `yarn run test-e2e-ios`);
|
|
10
|
+ exec.execSync(`yarn run clean`);
|
|
11
|
+ console.log('ALL PASSED!!!');
|
9
|
12
|
}
|
10
|
13
|
|
11
|
14
|
run();
|