瀏覽代碼

lower timeout

Daniel Zlotin 7 年之前
父節點
當前提交
95ebf52c3c
共有 1 個檔案被更改,包括 1 行新增2 行删除
  1. 1
    2
      playground/scripts/e2e.ios.js

+ 1
- 2
playground/scripts/e2e.ios.js 查看文件

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