Skip to content

test case isolation #1411

Discussion options

You must be logged in to vote

I was injecting a field into an object, not a class, so Kotlin was doing what I asked and only ever instantiating the injected field once. A language-level singleton has has a larger scope than a Koin singleton. See my example test at https://stackoverflow.com/a/73422425/821287

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by curtisullerich
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant