Skip to content

Commit

Permalink
Fix effect comparison in tests (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
vokod authored Sep 27, 2024
1 parent 7a6c056 commit e5e9d93
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package com.bridge.ouroboros.compose
import kotlinx.coroutines.CoroutineDispatcher
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.launch
import kotlin.coroutines.CoroutineContext

abstract class ExecutableEffect<EVENT, EFFECT_STATE> : CoroutineScope {
Expand Down Expand Up @@ -31,7 +30,7 @@ abstract class ExecutableEffect<EVENT, EFFECT_STATE> : CoroutineScope {

companion object {
@Volatile
private var defaultDispatcher: CoroutineDispatcher = Dispatchers.Default
private var defaultDispatcher: CoroutineDispatcher = Dispatchers.Unconfined

fun setDefaultDispatcher(dispatcher: CoroutineDispatcher) {
defaultDispatcher = dispatcher
Expand Down

0 comments on commit e5e9d93

Please # to comment.