Override production modules
Unlike unit tests, where you effectively call start Koin in each test class (i.e.
KoinTestExtension), in Instrumented tests Koin is started by your
For overriding production Koin modules,
unloadModules are often unsafe because the changes are not applied immediately. Instead,the recommended approach is to add a
module of your overrides to
modules used by
startKoin in the application's