does anybody know why this is happening? I’m testi...
# test
m
does anybody know why this is happening? I’m testing an Activity with Robolectric, and my Activity has a VM
Copy code
Exception in thread "SDK 21 Main Thread @coroutine#22" java.lang.NullPointerException
    at com.myapp.android.home.vm.HomeViewModel$getUpdateVersion$2.invokeSuspend(HomeViewModel.kt:216)
they only crash if I run the whole class, but if I run tests individually, it’s all fine (edited)