Coverage Summary for Class: StrategiesModule_androidKt (com.javiersc.samples.strategies.di)
Class |
Method, %
|
Branch, %
|
Line, %
|
Instruction, %
|
StrategiesModule_androidKt |
0%
(0/1)
|
|
0%
(0/1)
|
0%
(0/8)
|
StrategiesModule_androidKt$strategiesAndroidModule$1 |
0%
(0/1)
|
|
0%
(0/1)
|
0%
(0/3)
|
StrategiesModule_androidKt$strategiesAndroidModule$1$1 |
0%
(0/1)
|
|
0%
(0/3)
|
0%
(0/19)
|
Total |
0%
(0/3)
|
|
0%
(0/5)
|
0%
(0/30)
|
package com.javiersc.samples.strategies.di
import android.content.Context
import app.cash.sqldelight.db.SqlDriver
import app.cash.sqldelight.db.SqlSchema
import app.cash.sqldelight.driver.android.AndroidSqliteDriver
import org.koin.dsl.module
val strategiesAndroidModule = module {
single<SqlDriver> {
val schema: SqlSchema = get()
val context: Context = get()
AndroidSqliteDriver(schema, context)
}
}