Fix tests

This commit is contained in:
Yuri Schimke 2021-10-09 15:25:53 +01:00 committed by John O'Reilly
parent b1b06cfa0e
commit 22d35eb3ed
2 changed files with 1 additions and 2 deletions

View file

@ -9,7 +9,6 @@ import androidx.compose.material.Scaffold
import androidx.compose.material.Text
import androidx.compose.material.TopAppBar
import androidx.compose.runtime.Composable
import androidx.compose.runtime.LaunchedEffect
import androidx.compose.runtime.collectAsState
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier

View file

@ -33,7 +33,7 @@ fun commonModule(enableNetworkLogs: Boolean) = module {
single { CoroutineScope(Dispatchers.Default + SupervisorJob() ) }
single<PeopleInSpaceRepositoryInterface>(createdAtStart = true) {
single<PeopleInSpaceRepositoryInterface> {
PeopleInSpaceRepository()
.also {
get<CoroutineScope>().launch {