Skip to content

Commit 15c0598

Browse files
kelsetfacebook-github-bot
authored andcommitted
Update to Detox 9 (#21570)
Summary: Updating to Detox 9 - this should help with better Xcode 10 support, and should fix #21539. I've updated to fixed `9.0.4` since it seems that each version is fairly different from the next, and I've followed the [migration guide](https://github.com/wix/detox/blob/master/docs/Guide.Migration.md#migrating-from-detox-8xx-to-9xx) for the android native dependencies. Release Notes: [INTERNAL] [ENHANCEMENT] [DETOX] - Update to version 9.0.4 Pull Request resolved: #21570 Reviewed By: TheSavior Differential Revision: D10242373 Pulled By: RSNara fbshipit-source-id: bd29d554e0972f16d96b9b39b86c7143941d5b7c
1 parent 4b8c657 commit 15c0598

File tree

4 files changed

+654
-95
lines changed

4 files changed

+654
-95
lines changed

ReactAndroid/build.gradle

+2-1
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,8 @@ dependencies {
315315
testImplementation "org.robolectric:robolectric:${ROBOLECTRIC_VERSION}"
316316

317317
androidTestImplementation fileTree(dir: 'src/main/third-party/java/buck-android-support/', include: ['*.jar'])
318-
androidTestImplementation 'com.android.support.test:runner:0.3'
318+
androidTestImplementation "com.android.support.test:runner:${ANDROID_SUPPORT_TEST_VERSION}"
319+
androidTestImplementation "com.android.support.test:rules:${ANDROID_SUPPORT_TEST_VERSION}"
319320
androidTestImplementation "org.mockito:mockito-core:${MOCKITO_CORE_VERSION}"
320321
}
321322

ReactAndroid/gradle.properties

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ ROBOLECTRIC_VERSION=3.0
1111
JUNIT_VERSION=4.12
1212
FEST_ASSERT_CORE_VERSION=2.0M10
1313

14+
ANDROID_SUPPORT_TEST_VERSION=1.0.2
1415
FRESCO_VERSION=1.10.0
1516
OKHTTP_VERSION=3.10.0
1617

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@
209209
"async": "^2.4.0",
210210
"babel-eslint": "9.0.0",
211211
"babel-generator": "^6.26.0",
212-
"detox": "^8.2.3",
212+
"detox": "9.0.4",
213213
"eslint": "5.1.0",
214214
"eslint-config-fb-strict": "22.1.0",
215215
"eslint-config-fbjs": "2.0.1",

0 commit comments

Comments
 (0)