Skip to content

Commit

Permalink
fix viewmodel test
Browse files Browse the repository at this point in the history
  • Loading branch information
ndiritumichael committed Oct 7, 2024
1 parent 21ec395 commit 939b611
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ class SearchViewModelTest {

// When search query is modified
viewModel.modifySearchQuery(query)
advanceUntilIdle()

// Then searchQuery should be updated
Truth.assertThat(viewModel.searchQuery).isEqualTo(query)
Expand Down

0 comments on commit 939b611

Please sign in to comment.