Skip to content

Commit

Permalink
style: format code using ktfmt for readability
Browse files Browse the repository at this point in the history
  • Loading branch information
charliemangano committed Nov 2, 2024
1 parent 0c9d1f9 commit ddfee91
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ class CreateAlertScreenTest {
composeTestRule.onNodeWithTag(TopAppBar.TOP_BAR).assertIsDisplayed()
composeTestRule.onNodeWithTag(TopAppBar.GO_BACK_BUTTON).assertIsNotDisplayed()
composeTestRule
.onNodeWithTag(CreateAlertScreen.SUBMIT_BUTTON)
.assertIsDisplayed()
.assertTextEquals(SUBMIT_BUTTON_TEXT)
.onNodeWithTag(CreateAlertScreen.SUBMIT_BUTTON)
.assertIsDisplayed()
.assertTextEquals(SUBMIT_BUTTON_TEXT)
}

@Test
Expand Down Expand Up @@ -157,9 +157,9 @@ class CreateAlertScreenTest {
@Test
fun createInvalidAlertAllEmptyFields() {
composeTestRule
.onNodeWithTag(CreateAlertScreen.SUBMIT_BUTTON)
.assertIsDisplayed()
.performClick()
.onNodeWithTag(CreateAlertScreen.SUBMIT_BUTTON)
.assertIsDisplayed()
.performClick()
verify(navigationActions, never()).navigateTo(any<TopLevelDestination>())
verify(navigationActions, never()).navigateTo(any<String>())
}
Expand Down

0 comments on commit ddfee91

Please sign in to comment.