File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed
app/src/test/java/com/hoc/flowmvi Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,10 @@ import io.mockk.mockkClass
66import kotlinx.coroutines.ExperimentalCoroutinesApi
77import kotlinx.coroutines.FlowPreview
88import org.junit.Rule
9+ import org.koin.core.logger.Level
10+ import org.koin.dsl.koinApplication
911import org.koin.test.AutoCloseKoinTest
10- import org.koin.test.check.checkKoinModules
12+ import org.koin.test.check.checkModules
1113import org.koin.test.mock.MockProviderRule
1214import kotlin.test.Test
1315import kotlin.time.ExperimentalTime
@@ -28,8 +30,13 @@ class CheckModulesTest : AutoCloseKoinTest() {
2830
2931 @Test
3032 fun verifyKoinApp () {
31- checkKoinModules(allModules) {
32- withInstance<SavedStateHandle >()
33+ koinApplication {
34+ modules(allModules)
35+ printLogger(Level .DEBUG )
36+
37+ checkModules {
38+ withInstance<SavedStateHandle >()
39+ }
3340 }
3441 }
3542}
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ object deps {
6060 }
6161
6262 object koin {
63- private const val version = " 3.1.3 "
63+ private const val version = " 3.1.4 "
6464
6565 const val core = " io.insert-koin:koin-core:$version "
6666 const val android = " io.insert-koin:koin-android:$version "
You can’t perform that action at this time.
0 commit comments