From 4f0c13988914f41904c84c3615dc9f9b40323cc5 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Fri, 16 Dec 2022 11:58:18 +0600 Subject: [PATCH] remove redundant stop koin expect-actual --- .../launcher/src/commonTest/kotlin/StartupLaunchingTests.kt | 1 + startup/launcher/src/commonTest/kotlin/StopKoin.kt | 1 - startup/launcher/src/jsTest/kotlin/stopKoin.kt | 3 --- startup/launcher/src/jvmTest/kotlin/stopKoin.kt | 3 --- 4 files changed, 1 insertion(+), 7 deletions(-) delete mode 100644 startup/launcher/src/commonTest/kotlin/StopKoin.kt delete mode 100644 startup/launcher/src/jsTest/kotlin/stopKoin.kt delete mode 100644 startup/launcher/src/jvmTest/kotlin/stopKoin.kt diff --git a/startup/launcher/src/commonTest/kotlin/StartupLaunchingTests.kt b/startup/launcher/src/commonTest/kotlin/StartupLaunchingTests.kt index 6eecbdb16e6..1da5c79224c 100644 --- a/startup/launcher/src/commonTest/kotlin/StartupLaunchingTests.kt +++ b/startup/launcher/src/commonTest/kotlin/StartupLaunchingTests.kt @@ -5,6 +5,7 @@ import dev.inmo.micro_utils.startup.launcher.start import kotlinx.coroutines.launch import kotlinx.coroutines.test.runTest import kotlinx.serialization.json.jsonObject +import org.koin.core.context.stopKoin import kotlin.test.BeforeTest import kotlin.test.Test diff --git a/startup/launcher/src/commonTest/kotlin/StopKoin.kt b/startup/launcher/src/commonTest/kotlin/StopKoin.kt deleted file mode 100644 index e385ce93df5..00000000000 --- a/startup/launcher/src/commonTest/kotlin/StopKoin.kt +++ /dev/null @@ -1 +0,0 @@ -expect fun stopKoin() diff --git a/startup/launcher/src/jsTest/kotlin/stopKoin.kt b/startup/launcher/src/jsTest/kotlin/stopKoin.kt deleted file mode 100644 index 2fb40b1ea64..00000000000 --- a/startup/launcher/src/jsTest/kotlin/stopKoin.kt +++ /dev/null @@ -1,3 +0,0 @@ -import org.koin.core.context.GlobalContext - -actual fun stopKoin() = GlobalContext.stopKoin() diff --git a/startup/launcher/src/jvmTest/kotlin/stopKoin.kt b/startup/launcher/src/jvmTest/kotlin/stopKoin.kt deleted file mode 100644 index 2fb40b1ea64..00000000000 --- a/startup/launcher/src/jvmTest/kotlin/stopKoin.kt +++ /dev/null @@ -1,3 +0,0 @@ -import org.koin.core.context.GlobalContext - -actual fun stopKoin() = GlobalContext.stopKoin()