diff --git a/ReactAndroid/build.gradle b/ReactAndroid/build.gradle index 0fa92ba743b856..f3ca375b1c99b6 100644 --- a/ReactAndroid/build.gradle +++ b/ReactAndroid/build.gradle @@ -315,7 +315,8 @@ dependencies { testImplementation "org.robolectric:robolectric:${ROBOLECTRIC_VERSION}" androidTestImplementation fileTree(dir: 'src/main/third-party/java/buck-android-support/', include: ['*.jar']) - androidTestImplementation 'com.android.support.test:runner:0.3' + androidTestImplementation "com.android.support.test:runner:${ANDROID_SUPPORT_TEST_VERSION}" + androidTestImplementation "com.android.support.test:rules:${ANDROID_SUPPORT_TEST_VERSION}" androidTestImplementation "org.mockito:mockito-core:${MOCKITO_CORE_VERSION}" } diff --git a/ReactAndroid/gradle.properties b/ReactAndroid/gradle.properties index 9c7f617ef1409a..aa9fa54433d69b 100644 --- a/ReactAndroid/gradle.properties +++ b/ReactAndroid/gradle.properties @@ -11,6 +11,7 @@ ROBOLECTRIC_VERSION=3.0 JUNIT_VERSION=4.12 FEST_ASSERT_CORE_VERSION=2.0M10 +ANDROID_SUPPORT_TEST_VERSION=1.0.2 FRESCO_VERSION=1.10.0 OKHTTP_VERSION=3.10.0 diff --git a/package.json b/package.json index 594327030e490f..e44daf69aac746 100644 --- a/package.json +++ b/package.json @@ -209,7 +209,7 @@ "async": "^2.4.0", "babel-eslint": "9.0.0", "babel-generator": "^6.26.0", - "detox": "^8.2.3", + "detox": "9.0.4", "eslint": "5.1.0", "eslint-config-fb-strict": "22.1.0", "eslint-config-fbjs": "2.0.1",