mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
Fix IS_RUNNING_UNIT_TESTS not being set in the right place
This commit is contained in:
committed by
Stefan Ceriu
parent
6700d4301d
commit
7a1cbdf6b1
@@ -36,8 +36,6 @@ schemes:
|
|||||||
testPlans:
|
testPlans:
|
||||||
- path: ../../UnitTests/SupportingFiles/UnitTests.xctestplan
|
- path: ../../UnitTests/SupportingFiles/UnitTests.xctestplan
|
||||||
defaultPlan: true
|
defaultPlan: true
|
||||||
environmentVariables:
|
|
||||||
IS_RUNNING_UNIT_TESTS: "1"
|
|
||||||
|
|
||||||
targets:
|
targets:
|
||||||
ElementX:
|
ElementX:
|
||||||
|
|||||||
@@ -10,6 +10,12 @@
|
|||||||
],
|
],
|
||||||
"defaultOptions" : {
|
"defaultOptions" : {
|
||||||
"defaultTestExecutionTimeAllowance" : 60,
|
"defaultTestExecutionTimeAllowance" : 60,
|
||||||
|
"environmentVariableEntries" : [
|
||||||
|
{
|
||||||
|
"key" : "IS_RUNNING_UNIT_TESTS",
|
||||||
|
"value" : "1"
|
||||||
|
}
|
||||||
|
],
|
||||||
"testTimeoutsEnabled" : true
|
"testTimeoutsEnabled" : true
|
||||||
},
|
},
|
||||||
"testTargets" : [
|
"testTargets" : [
|
||||||
|
|||||||
@@ -14,8 +14,6 @@ schemes:
|
|||||||
run:
|
run:
|
||||||
config: Debug
|
config: Debug
|
||||||
disableMainThreadChecker: false
|
disableMainThreadChecker: false
|
||||||
environmentVariables:
|
|
||||||
IS_RUNNING_UNIT_TESTS: "1"
|
|
||||||
test:
|
test:
|
||||||
config: Debug
|
config: Debug
|
||||||
disableMainThreadChecker: false
|
disableMainThreadChecker: false
|
||||||
|
|||||||
Reference in New Issue
Block a user