Alexandru Gheorghe
03/22/2024, 11:21 AMsuspend
functions that .await()
on Firestore methods (get()
in particular). For this functionality, I've written a test using MockK that tests return of null
. My test was working before, but after a few changes (just variable names), the test suddenly hangs and Gradle is stuck at "Executing tasks" and "Gradle Build Running". Another test I wrote fails and seems not to get stuck, it's just this one test that executes the await call. How can I debug where and why the asynchronous call hangs?Alexandru Gheorghe
03/22/2024, 1:16 PMaddOnCompleteListener
.