Landry Norris
02/11/2022, 9:31 PMcaused by java.lang.RuntimeException: Method allowThreadDiskReads in android.os.StrictMode not mocked
. I wrote a simple test (in thread), which reproduced the issue. This only started when I added Compose tests.class TestClass {
@get:Rule
val composetestRule = createComposeRule()
@Test
fun simpleTest() {
composeTestRule.setContent {
Text(text = "")
}
}
}
Albert Chang
02/12/2022, 3:40 AMLandry Norris
02/12/2022, 4:03 AM