refactor(api/rest): create internal constructor for tests
This commit is contained in:
parent
db1f469a4f
commit
c7fb2817fc
2 changed files with 9 additions and 4 deletions
|
|
@ -11,7 +11,7 @@ import org.koin.dsl.module
|
|||
import org.koin.plugin.module.dsl.single
|
||||
|
||||
val coreModule = module {
|
||||
single<ApiClient>()
|
||||
factory { ApiClient() }
|
||||
single<AppSettings>()
|
||||
|
||||
single<AuthRepository>()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue