Updated on 2026-08-14
This commit is contained in:
parent
3cc0a643e9
commit
642190f7c6
98 changed files with 317 additions and 202 deletions
|
|
@ -32,9 +32,9 @@ import kotlinx.coroutines.ExperimentalCoroutinesApi
|
|||
import kotlinx.coroutines.cancel
|
||||
import kotlinx.coroutines.flow.MutableStateFlow
|
||||
import kotlinx.coroutines.test.*
|
||||
import org.junit.After
|
||||
import org.junit.Before
|
||||
import org.junit.Test
|
||||
import org.junit.jupiter.api.AfterEach
|
||||
import org.junit.jupiter.api.BeforeEach
|
||||
import org.junit.jupiter.api.Test
|
||||
|
||||
@OptIn(ExperimentalCoroutinesApi::class)
|
||||
class DeepLinkFactoryTest {
|
||||
|
|
@ -149,7 +149,7 @@ class DeepLinkFactoryTest {
|
|||
)
|
||||
|
||||
@OptIn(ExperimentalCoroutinesApi::class)
|
||||
@Before
|
||||
@BeforeEach
|
||||
fun setUp() {
|
||||
testDispatcher = StandardTestDispatcher()
|
||||
testScope = TestScope(testDispatcher)
|
||||
|
|
@ -165,7 +165,7 @@ class DeepLinkFactoryTest {
|
|||
}
|
||||
|
||||
@OptIn(ExperimentalCoroutinesApi::class)
|
||||
@After
|
||||
@AfterEach
|
||||
fun tearDown() {
|
||||
// Reset the main dispatcher
|
||||
Dispatchers.resetMain()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue