androidAndroidTest.Utils.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of flare Show documentation
Show all versions of flare Show documentation
Light the way for your app's backend with functional and testable Firebase components
import androidx.test.platform.app.InstrumentationRegistry
import kotlinx.coroutines.*
actual val context: Any? = InstrumentationRegistry.getInstrumentation().context
@OptIn(ExperimentalCoroutinesApi::class)
actual fun runTest(test: suspend CoroutineScope.() -> Unit) = kotlinx.coroutines.test.runTest(testBody = test)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy