Coverage Summary for Class: ConfigHydrationImpl (com.georgeci.moneysurfer.appconfig)
| Class |
Class, %
|
Method, %
|
Branch, %
|
Line, %
|
Instruction, %
|
| ConfigHydrationImpl |
0%
(0/1)
|
0%
(0/2)
|
|
0%
(0/3)
|
0%
(0/9)
|
package com.georgeci.moneysurfer.appconfig
import com.georgeci.moneysurfer.domain.config.ConfigHydration
import org.koin.core.annotation.Single
/**
* Exposes [Config.hydrate] to `navigation`, which — like feature modules — must not depend on
* `app-config`.
*/
@Single(binds = [ConfigHydration::class])
class ConfigHydrationImpl(private val config: Config) : ConfigHydration {
override suspend fun hydrate() = config.hydrate()
}