"...cwa-app-android.git" did not exist on "8d1b6a9dc0a3469e570cada36f7d803c971119a8"
Newer
Older
package testhelpers
import android.content.Context
import androidx.test.platform.app.InstrumentationRegistry
import dagger.Module
import dagger.Provides
import de.rki.coronawarnapp.util.di.AppContext
import javax.inject.Singleton
@Module
class TestAndroidModule {
@Provides
@Singleton
@AppContext
fun context(): Context = InstrumentationRegistry.getInstrumentation().targetContext
}