diff --git a/packages/react-native/ReactAndroid/build.gradle.kts b/packages/react-native/ReactAndroid/build.gradle.kts index c1598daa1347a0..2bd09788b5b0a6 100644 --- a/packages/react-native/ReactAndroid/build.gradle.kts +++ b/packages/react-native/ReactAndroid/build.gradle.kts @@ -778,6 +778,7 @@ dependencies { testImplementation(libs.junit) testImplementation(libs.assertj) testImplementation(libs.mockito) + testImplementation(libs.mockito.kotlin) testImplementation(libs.robolectric) testImplementation(libs.thoughtworks) } diff --git a/packages/react-native/gradle/libs.versions.toml b/packages/react-native/gradle/libs.versions.toml index a830563136fb44..85a7927862435f 100644 --- a/packages/react-native/gradle/libs.versions.toml +++ b/packages/react-native/gradle/libs.versions.toml @@ -25,6 +25,7 @@ jsr305 = "3.0.2" junit = "4.13.2" kotlin = "1.9.24" mockito = "3.12.4" +mockito-kotlin = "3.1.0" nexus-publish = "1.3.0" okhttp = "4.9.2" okio = "2.9.0" @@ -69,6 +70,7 @@ javax-annotation-api = { module = "javax.annotation:javax.annotation-api", versi junit = {module = "junit:junit", version.ref = "junit" } assertj = {module = "org.assertj:assertj-core", version.ref = "assertj" } mockito = {module = "org.mockito:mockito-inline", version.ref = "mockito" } +mockito-kotlin = {module = "org.mockito.kotlin:mockito-kotlin", version.ref = "mockito-kotlin" } robolectric = {module = "org.robolectric:robolectric", version.ref = "robolectric" } thoughtworks = {module = "com.thoughtworks.xstream:xstream", version.ref = "xstream" }