I'm having trouble w/ writing unit test for a libr...
# koin
j
I'm having trouble w/ writing unit test for a library that uses Isolated Context. It appears that previous values are retained between different test functions. What is the recommend way to restart an Isolated Context at the start of each test so that it's in an unloaded state.
a
You should avoid injecting in class properties, it will hold your previous values. After that, depends on how you setup your isolated context