Jgafner
07/27/2021, 6:55 AMval myModuleA = module {
single<Service> { ServiceImp() }
}
val myModuleB = module {
single<Service> { TestServiceImp() }
}
// Will throw an BeanOverrideException
startKoin {
modules(myModuleA,myModuleB)
}
does koin create ServiceImp instance but it is override or it does not create it at all ?
We have some scheduler in the ServiceImp that we don’t want to start at all when just running the tests
Thanks