Coverage Summary for Class: SyncImplModule (com.georgeci.moneysurfer.data.di)
| Class |
Class, %
|
Method, %
|
Branch, %
|
Line, %
|
Instruction, %
|
| SyncImplModule |
100%
(1/1)
|
33.3%
(1/3)
|
|
25%
(1/4)
|
15.4%
(2/13)
|
package com.georgeci.moneysurfer.data.di
import kotlinx.serialization.json.Json
import org.koin.core.annotation.ComponentScan
import org.koin.core.annotation.Module
import org.koin.core.annotation.Single
@Module
@ComponentScan("com.georgeci.moneysurfer.data.sync")
class SyncImplModule {
@Single
fun syncJson(): Json = Json {
ignoreUnknownKeys = true
encodeDefaults = true
}
}