BIT-478: Implementation for crash logging switch in settings screen (#864)

This commit is contained in:
Joshua Queen
2024-01-30 01:11:01 -05:00
committed by Álison Fernandes
parent 085fa0153d
commit 2de2ade7a6
11 changed files with 135 additions and 13 deletions

View File

@@ -32,6 +32,7 @@ class MainViewModelTest : BaseViewModelTest() {
private val mutableAppThemeFlow = MutableStateFlow(AppTheme.DEFAULT)
private val mutableUserStateFlow = MutableStateFlow<UserState?>(DEFAULT_USER_STATE)
private val mutableScreenCaptureAllowedFlow = MutableStateFlow(true)
private val mutableCrashLoggingEnabledFlow = MutableStateFlow(true)
val authRepository = mockk<AuthRepository> {
every { userStateFlow } returns mutableUserStateFlow
every { activeUserId } returns USER_ID