Jgafner
08/03/2021, 5:51 PMkevindmoore
08/03/2021, 8:08 PMJgafner
08/04/2021, 8:44 AMfun Application.main() {
install(Koin) {
modules(modules)
}
}
now in the module we have various Services we want koin to inject.
In the test we want to override the those service and skip their loading since some of them are triggering async tasks at their init block.arnaud.giuliani
08/13/2021, 8:00 AMdeclareMock
to override on the fly a definition - https://insert-koin.io/docs/reference/koin-test/testing