aniruddha dhamal
03/11/2022, 3:30 AM@Composable
fun greeting() {
Text(text = "Hello there!")
}
@Test
fun testGreeting() {
composeTestRule.setContent {
greeting()
}
composeTestRule
.onNodeWithText("Hello there!")
.assertIsDisplayed()
}
Michael Torres
03/11/2022, 4:18 AManiruddha dhamal
03/11/2022, 5:05 PM