Skip to content

Commit 1f41236

Browse files
fix(deps): update kotest to v6 (#26)
* fix(deps): update kotest to v6 * test: migrate backgroundScope import for kotest 6 The TestScope.backgroundScope extension moved from io.kotest.core.coroutines to io.kotest.engine.coroutines in kotest 6. --------- Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
1 parent 6c38c13 commit 1f41236

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ fory = "1.0.0"
1313
datasource = "8.0.11-1836-95c6e774"
1414

1515
# Test Dependencies
16-
kotest = "5.9.1"
16+
kotest = "6.1.11"
1717
turbine = "1.2.1"
1818
mockk = "1.14.9"
1919

reactive/kotlin/src/test/kotlin/com/caplin/integration/datasourcex/reactive/kotlin/BindTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ import com.caplin.integration.datasourcex.util.flow.ValueOrCompletion
2020
import com.caplin.integration.datasourcex.util.flow.ValueOrCompletion.Completion
2121
import com.caplin.integration.datasourcex.util.flow.ValueOrCompletion.Value
2222
import com.caplin.integration.datasourcex.util.flow.dematerialize
23-
import io.kotest.core.coroutines.backgroundScope
2423
import io.kotest.core.spec.IsolationMode
2524
import io.kotest.core.spec.style.FunSpec
25+
import io.kotest.engine.coroutines.backgroundScope
2626
import io.kotest.matchers.collections.shouldContain
2727
import io.kotest.matchers.collections.shouldNotContain
2828
import io.kotest.matchers.equals.shouldBeEqual

util/src/test/kotlin/com/caplin/integration/datasourcex/util/flow/CompletingSharedFlowTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import app.cash.turbine.test
66
import app.cash.turbine.turbineScope
77
import com.caplin.integration.datasourcex.util.flow.ValueOrCompletion.Completion
88
import com.caplin.integration.datasourcex.util.flow.ValueOrCompletion.Value
9-
import io.kotest.core.coroutines.backgroundScope
109
import io.kotest.core.spec.style.FunSpec
10+
import io.kotest.engine.coroutines.backgroundScope
1111
import io.kotest.matchers.equals.shouldBeEqual
1212
import io.kotest.matchers.types.shouldBeInstanceOf
1313
import kotlinx.coroutines.ExperimentalCoroutinesApi

util/src/test/kotlin/com/caplin/integration/datasourcex/util/flow/FlowMapTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import app.cash.turbine.turbineScope
77
import com.caplin.integration.datasourcex.util.flow.MapEvent.EntryEvent.Removed
88
import com.caplin.integration.datasourcex.util.flow.MapEvent.EntryEvent.Upsert
99
import com.caplin.integration.datasourcex.util.flow.MapEvent.Populated
10-
import io.kotest.core.coroutines.backgroundScope
1110
import io.kotest.core.spec.style.FunSpec
11+
import io.kotest.engine.coroutines.backgroundScope
1212
import io.kotest.matchers.equals.shouldBeEqual
1313
import io.kotest.matchers.maps.shouldContainExactly
1414
import io.kotest.matchers.nulls.shouldBeNull

0 commit comments

Comments
 (0)