jsTest

Static accessor for the test Kotlin Source Set of js target. Declare js target to access this source set. If js target wasn't declared, accessing this source set will cause a runtime error during configuration time.

Sample:

kotlin {
js() // Target is declared, jsTest source set is created

sourceSets {
jsTest.dependencies {
// Add jsTest dependencies here
}
}
}

Since

2.0.20