Use Koin test inside Spek tests

78 views Asked by At

I just want to implement test using koin inside spek test, but just got error No value passed for parameter 'clazz'

object HomeViewModelTest : Spek({

    private val model by inject<HomeViewModel>() // ← this got error  No value passed for parameter 'clazz'
})
0

There are 0 answers