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
2 changed files with 6 additions and 8 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue