瀏覽代碼

try fix travis

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

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

@@ -10,12 +10,12 @@ function run() {
10 10
     const conf = release ? `release` : `debug`;
11 11
     exec.execSync(`detox build --configuration ios.sim.${conf}`);
12 12
 
13
+    startRecording();
14
+
13 15
     setTimeout(() => {
14 16
       exec.execAsync(`open /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app`);
15 17
     }, 1000);
16 18
 
17
-    startRecording();
18
-
19 19
     exec.execSync(`detox test --configuration ios.sim.${conf} ${process.env.CI ? '--cleanup' : ''}`);
20 20
   } finally {
21 21
     stopRecording();