Alejandro Serrano Mena
07/16/2023, 6:59 PMTypeError at /Users/serras/arrow/arrow-libs/resilience/arrow-resilience/build/compileSync/js/test/testDevelopmentExecutable/kotlin/commonMainSources/libraries/stdlib/src/kotlin/time/Duration.kt:643
is there any known incompatibility with this version?
I’ve tried to use the latest Kotest snapshot, but without any successsam
07/17/2023, 1:16 AMsam
07/17/2023, 1:16 AMsam
07/17/2023, 1:16 AMAlejandro Serrano Mena
07/17/2023, 6:48 AMAlejandro Serrano Mena
07/17/2023, 6:53 AMOliver.O
07/18/2023, 4:30 PMTypeError
be unrelated to Kotest?Alejandro Serrano Mena
07/18/2023, 7:18 PMOliver.O
07/18/2023, 7:30 PMimport io.kotest.core.spec.style.FunSpec
import io.kotest.matchers.shouldBe
import kotlin.time.Duration
import kotlin.time.Duration.Companion.seconds
class DurationTest : FunSpec({
test("one") {
val totalDuration: Duration = 0.seconds
totalDuration shouldBe 0.seconds
}
})
Oliver.O
07/18/2023, 7:40 PMjs {
browser()
}
Dependencies:
jsTestNpmAggregated - NPM configuration for compilation 'test' (target js (js)).
[...]
+--- org.jetbrains.kotlinx:kotlinx-datetime:{require 0.4.0; reject _} -> 0.4.0
| \--- org.jetbrains.kotlinx:kotlinx-datetime-js:0.4.0
| +--- org.jetbrains.kotlin:kotlin-stdlib-js:1.7.0 -> 1.9.0 (*)
| +--- org.jetbrains.kotlinx:kotlinx-serialization-core:1.3.2 -> 1.5.1 (*)
| \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.7.0 -> 1.9.0