summaryrefslogtreecommitdiff
path: root/sw-ui/src/test/kotlin
diff options
context:
space:
mode:
Diffstat (limited to 'sw-ui/src/test/kotlin')
-rw-r--r--sw-ui/src/test/kotlin/org/luxons/sevenwonders/ui/redux/sagas/SagasFrameworkTest.kt2
-rw-r--r--sw-ui/src/test/kotlin/org/luxons/sevenwonders/ui/utils/CoroutineUtilsTest.kt4
2 files changed, 3 insertions, 3 deletions
diff --git a/sw-ui/src/test/kotlin/org/luxons/sevenwonders/ui/redux/sagas/SagasFrameworkTest.kt b/sw-ui/src/test/kotlin/org/luxons/sevenwonders/ui/redux/sagas/SagasFrameworkTest.kt
index fd23039c..f580fc93 100644
--- a/sw-ui/src/test/kotlin/org/luxons/sevenwonders/ui/redux/sagas/SagasFrameworkTest.kt
+++ b/sw-ui/src/test/kotlin/org/luxons/sevenwonders/ui/redux/sagas/SagasFrameworkTest.kt
@@ -36,7 +36,7 @@ private fun configureTestStore(initialState: State): TestRedux {
private data class TestRedux(
val store: Store<State, RAction, WrapperAction>,
- val sagas: SagaManager<State, RAction, WrapperAction>
+ val sagas: SagaManager<State, RAction, WrapperAction>,
)
@OptIn(ExperimentalCoroutinesApi::class)
diff --git a/sw-ui/src/test/kotlin/org/luxons/sevenwonders/ui/utils/CoroutineUtilsTest.kt b/sw-ui/src/test/kotlin/org/luxons/sevenwonders/ui/utils/CoroutineUtilsTest.kt
index d633f6f2..ba43c33f 100644
--- a/sw-ui/src/test/kotlin/org/luxons/sevenwonders/ui/utils/CoroutineUtilsTest.kt
+++ b/sw-ui/src/test/kotlin/org/luxons/sevenwonders/ui/utils/CoroutineUtilsTest.kt
@@ -12,12 +12,12 @@ class CoroutineUtilsTest {
fun awaitFirstTest(): dynamic = GlobalScope.promise {
val s = awaitFirst(
{ delay(100); "1" },
- { delay(200); "2" }
+ { delay(200); "2" },
)
assertEquals("1", s)
val s2 = awaitFirst(
{ delay(150); "1" },
- { delay(50); "2" }
+ { delay(50); "2" },
)
assertEquals("2", s2)
}
bgstack15