
androidAndroidTest.dev.gitlive.firebase.firestore.firestore.kt Maven / Gradle / Ivy
/*
* Copyright (c) 2020 GitLive Ltd. Use of this source code is governed by the Apache 2.0 license.
*/
@file:JvmName("tests")
package dev.gitlive.firebase.firestore
import androidx.test.platform.app.InstrumentationRegistry
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.runBlocking
actual val emulatorHost: String = "10.0.2.2"
actual val context: Any = InstrumentationRegistry.getInstrumentation().targetContext
actual fun runTest(test: suspend CoroutineScope.() -> Unit) = runBlocking { test() }
© 2015 - 2025 Weber Informatics LLC | Privacy Policy