mirror of
https://github.com/bitwarden/android.git
synced 2026-06-01 02:06:52 -05:00
Rename Login navigation components to Auth (#23)
This commit is contained in:
@@ -16,11 +16,11 @@ class RootNavViewModelTests : BaseViewModelTest() {
|
||||
}
|
||||
|
||||
@Test
|
||||
fun `state should move from splash to login`() = runTest {
|
||||
fun `state should move from splash to auth`() = runTest {
|
||||
val viewModel = RootNavViewModel()
|
||||
viewModel.stateFlow.test {
|
||||
assert(awaitItem() is RootNavState.Splash)
|
||||
assert(awaitItem() is RootNavState.Login)
|
||||
assert(awaitItem() is RootNavState.Auth)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user