Trying to follow the instruction to setup compose ...
# compose
d
Trying to follow the instruction to setup compose multiplatform testing via desktopTest: https://www.jetbrains.com/help/kotlin-multiplatform-dev/compose-test.html Which is resulting in error
Copy code
KotlinSourceSet with name 'desktopTest' not found.
I’m using Kotlin 2.0.21 and compose multiplatform 1.7.0
a
desktopTest
should be used if the name of the JVM source set is overridden:
Copy code
kotlin {
    jvm("desktop")
    ...
}
If you are just specifying
jvm()
, use
jvmTest
.
d
I see. Shouldn't the official documentation reflect that?