All Downloads are FREE. Search and download functionalities are using the official Maven repository.

androidAndroidTest.Utils.kt Maven / Gradle / Ivy

Go to download

Light the way for your app's backend with functional and testable Firebase components

There is a newer version: 1.0.0-alpha12
Show newest version
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