Daniel Zlotin 7 лет назад
Родитель
Сommit
a4fa5254dc
2 измененных файлов: 3 добавлений и 3 удалений
  1. 1
    1
      scripts/test.e2e.ios.js
  2. 2
    2
      scripts/test.unit.ios.js

+ 1
- 1
scripts/test.e2e.ios.js Просмотреть файл

15
             -sdk iphonesimulator
15
             -sdk iphonesimulator
16
             -configuration ${conf}
16
             -configuration ${conf}
17
             -derivedDataPath ./DerivedData/playground
17
             -derivedDataPath ./DerivedData/playground
18
-            ONLY_ACTIVE_ARCH=YES && echo $?`);
18
+            ONLY_ACTIVE_ARCH=YES`);
19
 }
19
 }
20
 
20
 
21
 function runDetoxUsingMocha() {
21
 function runDetoxUsingMocha() {

+ 2
- 2
scripts/test.unit.ios.js Просмотреть файл

13
             -sdk iphonesimulator
13
             -sdk iphonesimulator
14
             -configuration ${conf}
14
             -configuration ${conf}
15
             -derivedDataPath ./DerivedData/playground
15
             -derivedDataPath ./DerivedData/playground
16
-            ONLY_ACTIVE_ARCH=YES && echo $?`);
16
+            ONLY_ACTIVE_ARCH=YES`);
17
   exec.execSync(`RCT_NO_LAUNCH_PACKAGER=true
17
   exec.execSync(`RCT_NO_LAUNCH_PACKAGER=true
18
           cd ./playground/ios && xcodebuild
18
           cd ./playground/ios && xcodebuild
19
             test-without-building
19
             test-without-building
23
             -configuration ${conf}
23
             -configuration ${conf}
24
             -destination 'platform=iOS Simulator,name=iPhone 7'
24
             -destination 'platform=iOS Simulator,name=iPhone 7'
25
             -derivedDataPath ./DerivedData/playground
25
             -derivedDataPath ./DerivedData/playground
26
-            ONLY_ACTIVE_ARCH=YES && echo $?`);
26
+            ONLY_ACTIVE_ARCH=YES`);
27
 }
27
 }
28
 
28
 
29
 run();
29
 run();