Skip to content

Commit 8956d58

Browse files
authored
test(e2e, ios): use correct env var name to workaround iOS crashes (#5939)
Fix typo from `SIMCTL_CHILD_NSZombiesEnabled` to `SIMCTL_CHILD_NSZombieEnabled`. See https://developer.apple.com/documentation/foundation/nszombieenabled.
1 parent fcf375a commit 8956d58

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@
3838
"tests:android:test:jacoco-report": "cd tests/android && ./gradlew jacocoAndroidTestReport",
3939
"tests:ios:build": "cd tests && yarn detox build --configuration ios.sim.debug",
4040
"tests:ios:build-release": "cd tests && yarn detox build --configuration ios.sim.release",
41-
"tests:ios:test": "cd tests && SIMCTL_CHILD_NSZombiesEnabled=1 SIMCTL_CHILD_FIRAAppCheckDebugToken=698956B2-187B-49C6-9E25-C3F3530EEBAF yarn detox test --configuration ios.sim.debug --loglevel warn",
42-
"tests:ios:test:debug": "cd tests && SIMCTL_CHILD_NSZombiesEnabled=1 SIMCTL_CHILD_FIRAAppCheckDebugToken=698956B2-187B-49C6-9E25-C3F3530EEBAF yarn detox test --configuration ios.sim.debug --loglevel warn --inspect",
43-
"tests:ios:test-reuse": "cd tests && SIMCTL_CHILD_NSZombiesEnabled=1 SIMCTL_CHILD_FIRAAppCheckDebugToken=\"698956B2-187B-49C6-9E25-C3F3530EEBAF\" yarn detox test --configuration ios.sim.debug --reuse --loglevel warn",
44-
"tests:ios:test-cover": "cd tests && SIMCTL_CHILD_NSZombiesEnabled=1 SIMCTL_CHILD_FIRAAppCheckDebugToken=698956B2-187B-49C6-9E25-C3F3530EEBAF ./node_modules/.bin/nyc yarn detox test --configuration ios.sim.debug --loglevel warn",
45-
"tests:ios:test-cover-reuse": "cd tests && SIMCTL_CHILD_NSZombiesEnabled=1 SIMCTL_CHILD_FIRAAppCheckDebugToken=698956B2-187B-49C6-9E25-C3F3530EEBAF node_modules/.bin/nyc yarn detox test --configuration ios.sim.debug --reuse --loglevel warn",
41+
"tests:ios:test": "cd tests && SIMCTL_CHILD_NSZombieEnabled=1 SIMCTL_CHILD_FIRAAppCheckDebugToken=698956B2-187B-49C6-9E25-C3F3530EEBAF yarn detox test --configuration ios.sim.debug --loglevel warn",
42+
"tests:ios:test:debug": "cd tests && SIMCTL_CHILD_NSZombieEnabled=1 SIMCTL_CHILD_FIRAAppCheckDebugToken=698956B2-187B-49C6-9E25-C3F3530EEBAF yarn detox test --configuration ios.sim.debug --loglevel warn --inspect",
43+
"tests:ios:test-reuse": "cd tests && SIMCTL_CHILD_NSZombieEnabled=1 SIMCTL_CHILD_FIRAAppCheckDebugToken=\"698956B2-187B-49C6-9E25-C3F3530EEBAF\" yarn detox test --configuration ios.sim.debug --reuse --loglevel warn",
44+
"tests:ios:test-cover": "cd tests && SIMCTL_CHILD_NSZombieEnabled=1 SIMCTL_CHILD_FIRAAppCheckDebugToken=698956B2-187B-49C6-9E25-C3F3530EEBAF ./node_modules/.bin/nyc yarn detox test --configuration ios.sim.debug --loglevel warn",
45+
"tests:ios:test-cover-reuse": "cd tests && SIMCTL_CHILD_NSZombieEnabled=1 SIMCTL_CHILD_FIRAAppCheckDebugToken=698956B2-187B-49C6-9E25-C3F3530EEBAF node_modules/.bin/nyc yarn detox test --configuration ios.sim.debug --reuse --loglevel warn",
4646
"tests:ios:pod:install": "cd tests && cd ios && rm -rf ReactNativeFirebaseDemo.xcworkspace && rm -f Podfile.lock && pod install --repo-update && cd ..",
4747
"format:markdown": "prettier --write \"docs/**/*.md\""
4848
},

0 commit comments

Comments
 (0)