Skip to content

Commit e5e9d93

Browse files
authored
Fix effect comparison in tests (#13)
1 parent 7a6c056 commit e5e9d93

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

core/src/main/kotlin/com/bridge/ouroboros/compose/ExecutableEffect.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ package com.bridge.ouroboros.compose
33
import kotlinx.coroutines.CoroutineDispatcher
44
import kotlinx.coroutines.CoroutineScope
55
import kotlinx.coroutines.Dispatchers
6-
import kotlinx.coroutines.launch
76
import kotlin.coroutines.CoroutineContext
87

98
abstract class ExecutableEffect<EVENT, EFFECT_STATE> : CoroutineScope {
@@ -31,7 +30,7 @@ abstract class ExecutableEffect<EVENT, EFFECT_STATE> : CoroutineScope {
3130

3231
companion object {
3332
@Volatile
34-
private var defaultDispatcher: CoroutineDispatcher = Dispatchers.Default
33+
private var defaultDispatcher: CoroutineDispatcher = Dispatchers.Unconfined
3534

3635
fun setDefaultDispatcher(dispatcher: CoroutineDispatcher) {
3736
defaultDispatcher = dispatcher

0 commit comments

Comments
 (0)