forked from github/wulkanowy-mirror
Bump coroutines from 1.5.2 to 1.6.0 (#1731)
This commit is contained in:
parent
f718147ae9
commit
8560fd7e81
@ -170,7 +170,7 @@ ext {
|
||||
room = "2.4.0"
|
||||
chucker = "3.5.2"
|
||||
mockk = "1.12.1"
|
||||
coroutines = "1.5.2"
|
||||
coroutines = "1.6.0"
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
@ -1,23 +1,21 @@
|
||||
package io.github.wulkanowy.utils
|
||||
|
||||
import io.mockk.Runs
|
||||
import io.mockk.coEvery
|
||||
import io.mockk.coVerifyOrder
|
||||
import io.mockk.just
|
||||
import io.mockk.mockk
|
||||
import io.mockk.*
|
||||
import kotlinx.coroutines.ExperimentalCoroutinesApi
|
||||
import kotlinx.coroutines.delay
|
||||
import kotlinx.coroutines.flow.flowOf
|
||||
import kotlinx.coroutines.flow.launchIn
|
||||
import kotlinx.coroutines.sync.Mutex
|
||||
import kotlinx.coroutines.test.TestCoroutineScope
|
||||
import kotlinx.coroutines.test.TestScope
|
||||
import kotlinx.coroutines.test.UnconfinedTestDispatcher
|
||||
import kotlinx.coroutines.test.advanceTimeBy
|
||||
import org.junit.Test
|
||||
import kotlin.test.assertEquals
|
||||
|
||||
@OptIn(ExperimentalCoroutinesApi::class)
|
||||
class FlowUtilsKtTest {
|
||||
|
||||
private val testScope = TestCoroutineScope()
|
||||
private val testScope = TestScope(UnconfinedTestDispatcher())
|
||||
|
||||
@Test
|
||||
fun `fetch from two places with same remote data`() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user