File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
apps/mobile-app/src/test/kotlin/dev/marlonlom/apps/cappajv/features/settings Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ import androidx.datastore.preferences.core.emptyPreferences
12
12
import androidx.datastore.preferences.core.mutablePreferencesOf
13
13
import dev.marlonlom.apps.cappajv.core.preferences.UserPreferencesRepository
14
14
import dev.marlonlom.apps.cappajv.util.MainDispatcherRule
15
+ import dev.marlonlom.apps.cappajv.util.RethrowingExceptionHandler
15
16
import kotlinx.coroutines.ExperimentalCoroutinesApi
16
17
import kotlinx.coroutines.flow.first
17
18
import kotlinx.coroutines.flow.flowOf
@@ -30,6 +31,9 @@ internal class SettingsViewModelTest {
30
31
@get:Rule
31
32
val mainDispatcherRule = MainDispatcherRule ()
32
33
34
+ @get:Rule
35
+ val throwRule = RethrowingExceptionHandler ()
36
+
33
37
private lateinit var viewModel: SettingsViewModel
34
38
35
39
@Test
You can’t perform that action at this time.
0 commit comments