Does Robolectric still work? Latest seems to fail ...
# compose
a
Does Robolectric still work? Latest seems to fail currently due to the composeTestRule.
Copy code
java.lang.NullPointerException: runOnUiThread {
        Choreographer.getInstance()
    } must not be null

	at androidx.ui.test.android.AndroidTestAnimationClock.<init>(AndroidTestAnimationClock.kt:45)
	at androidx.ui.test.AnimationClockTestRule.<init>(TestAnimationClock.kt:90)
	at androidx.ui.test.android.AndroidComposeTestRule.<init>(AndroidComposeTestRule.kt:97)
	at androidx.ui.test.ComposeTestRuleKt.createComposeRule(ComposeTestRule.kt:104)
	at androidx.ui.test.ComposeTestRuleKt.createComposeRule$default(ComposeTestRule.kt:90)
Trying to find a solution… I need to replace it with ShadowChoreographer somehow Test works fine in androidTest however.