Could anyone help me understand why this hangs? ```composeTestRule.runOnUiThread { backPressedDi...
t
Could anyone help me understand why this hangs?
Copy code
composeTestRule.runOnUiThread {
    backPressedDispatcher.onBackPressed()
}
But this works fine:
Copy code
Espresso.pressBackUnconditionally()
I’m guessing there’s some sort of issue with the activity trying to execute code on the main thread while also being destroyed