Coverage Summary for Class: PlatformModule_jvmKt (com.georgeci.moneysurfer.di)

Class Class, % Method, % Branch, % Line, % Instruction, %
PlatformModule_jvmKt 0% (0/1) 0% (0/6) 0% (0/7) 0% (0/45)


 package com.georgeci.moneysurfer.di
 
 import com.georgeci.moneysurfer.appconfig.RemoteConfigMirror
 import com.georgeci.moneysurfer.data.config.createRemoteConfigMirror
 import com.georgeci.moneysurfer.data.repository.NoOpCrashReporter
 import com.georgeci.moneysurfer.domain.telemetry.CrashReporter
 import com.georgeci.moneysurfer.sync.db.SyncDatabase
 import com.georgeci.moneysurfer.sync.db.getSyncDatabaseBuilder
 import com.georgeci.moneysurfer.sync.db.getSyncRoomDatabase
 import org.koin.core.module.Module
 import org.koin.dsl.module
 
 private val onlinePlatformModule: Module = module {
     single<SyncDatabase> { getSyncRoomDatabase(getSyncDatabaseBuilder()) }
     single<CrashReporter> { NoOpCrashReporter() }
     // Own DataStore file, created in the factory rather than bound — see the Android actual.
     single<RemoteConfigMirror> { createRemoteConfigMirror(scope = get()) }
 }
 
 val onlineWiring: List<Module> = listOf(
     onlinePlatformModule,
     OnlineKoinApp().module(),
 )