Reduce test flakiness by warming up molecule tests (#1226)
This commit is contained in:
parent
11982e60e9
commit
9e5b46200b
67 changed files with 406 additions and 1 deletions
|
|
@ -25,10 +25,17 @@ import io.element.android.features.logout.api.LogoutPreferenceState
|
|||
import io.element.android.libraries.architecture.Async
|
||||
import io.element.android.libraries.matrix.test.A_THROWABLE
|
||||
import io.element.android.libraries.matrix.test.FakeMatrixClient
|
||||
import io.element.android.tests.testutils.WarmUpRule
|
||||
import kotlinx.coroutines.test.runTest
|
||||
import org.junit.Rule
|
||||
import org.junit.Test
|
||||
|
||||
class LogoutPreferencePresenterTest {
|
||||
|
||||
@Rule
|
||||
@JvmField
|
||||
val warmUpRule = WarmUpRule()
|
||||
|
||||
@Test
|
||||
fun `present - initial state`() = runTest {
|
||||
val presenter = DefaultLogoutPreferencePresenter(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue