Skip to content

Commit

Permalink
Migrate runBlocking -> runTest (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnasSmicius authored Aug 21, 2023
1 parent 02eb9ef commit 186b18b
Show file tree
Hide file tree
Showing 3 changed files with 373 additions and 428 deletions.
2 changes: 2 additions & 0 deletions buildSrc/src/main/kotlin/Dependencies.kt
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ object Libs {
const val APP_COMPAT = "androidx.appcompat:appcompat:${Versions.APP_COMPAT}"
const val KOTLIN_COROUTINES =
"org.jetbrains.kotlinx:kotlinx-coroutines-core:${Versions.COROUTINES}"
const val KOTLIN_COROUTINES_TEST =
"org.jetbrains.kotlinx:kotlinx-coroutines-test:${Versions.COROUTINES}"
const val JUNIT = "junit:junit:${Versions.JUNIT}"
const val ROBOLECTRIC = "org.robolectric:robolectric:${Versions.ROBOLECTRIC}"
const val MOCKITO = "org.mockito:mockito-core:${Versions.MOCKITO}"
Expand Down
1 change: 1 addition & 0 deletions library/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,5 @@ dependencies {
testImplementation(Libs.MOCKITO)
testImplementation(Libs.ROBOLECTRIC)
testImplementation(Libs.MOCKITO_INLINE)
testImplementation(Libs.KOTLIN_COROUTINES_TEST)
}
Loading

0 comments on commit 186b18b

Please sign in to comment.