( New to koin here ) I have started koin in my App...
# koin
s
( New to koin here ) I have started koin in my Application in Android, and am now trying to override a network dependency in the unit tests, but am having trouble doing so. I have tried setting that network component as override and using loadKoinModule, but get an error, please use startKoin
t
Unit tests usually don’t run with an
Application
which starts the Koin context. You can write a simple unit test with
KoinTest
https://start.insert-koin.io/#/getting-started/testing
s
Thanks for that clarification, now I am starting koin again in the Test.