Skip to content

Commit

Permalink
[skip ci] Add mockito-kotlin (#48158)
Browse files Browse the repository at this point in the history
Summary:

Changelog: [Android][Added] Add mockito-kotlin for Kotlin unit testing

Reviewed By: cortinico

Differential Revision: D66897263
  • Loading branch information
Thomas Nardone authored and facebook-github-bot committed Dec 13, 2024
1 parent c2fd35a commit 0e677c0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/react-native/ReactAndroid/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -664,6 +664,7 @@ dependencies {
testImplementation(libs.junit)
testImplementation(libs.assertj)
testImplementation(libs.mockito)
testImplementation(libs.mockito.kotlin)
testImplementation(libs.robolectric)
testImplementation(libs.thoughtworks)
}
Expand Down
2 changes: 2 additions & 0 deletions packages/react-native/gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jsr305 = "3.0.2"
junit = "4.13.2"
kotlin = "2.0.21"
mockito = "3.12.4"
mockito-kotlin = "3.2.0"
nexus-publish = "1.3.0"
okhttp = "4.9.2"
okio = "2.9.0"
Expand Down Expand Up @@ -72,6 +73,7 @@ jsc-android = { module = "io.github.react-native-community:jsc-android", version
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" }

Expand Down

0 comments on commit 0e677c0

Please sign in to comment.