Browse Source

lower timeout

Daniel Zlotin 7 years ago
parent
commit
95ebf52c3c
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      playground/scripts/e2e.ios.js

+ 1
- 2
playground/scripts/e2e.ios.js View File

1
 const _ = require('lodash');
1
 const _ = require('lodash');
2
 const shellUtils = require('shell-utils');
2
 const shellUtils = require('shell-utils');
3
-const fs = require('fs');
4
 
3
 
5
 const release = _.includes(process.argv, 'release');
4
 const release = _.includes(process.argv, 'release');
6
 
5
 
42
     shellUtils.exec.execSync(`detoxAppBuildPath="${detoxAppBuildPath}"
41
     shellUtils.exec.execSync(`detoxAppBuildPath="${detoxAppBuildPath}"
43
                               BABEL_ENV=test
42
                               BABEL_ENV=test
44
                               ./node_modules/mocha/bin/mocha e2e
43
                               ./node_modules/mocha/bin/mocha e2e
45
-                                --timeout ${10 * 60 * 1000}
44
+                                --timeout ${2 * 60 * 1000}
46
                                 --recursive
45
                                 --recursive
47
                                 --bail`);
46
                                 --bail`);
48
   } finally {
47
   } finally {