[Gradle, JS] KT-36784 Fix tests on composite

#KT-32466 fixed
#KT-36784 fixed
#KT-36864 fixed
This commit is contained in:
Ilya Goncharov
2020-04-01 12:37:02 +03:00
parent a27ae5dd7b
commit 9806ac992e
3 changed files with 11 additions and 3 deletions
@@ -581,7 +581,7 @@ abstract class AbstractKotlin2JsGradlePluginIT(private val irBackend: Boolean) :
.let { it!!.version }
with(appProject) {
build("build") {
build("build", "browserDevelopmentWebpack") {
assertSuccessful()
val appAsyncVersion = asyncVersion("build/js/node_modules/app", "async")
assertEquals("3.2.0", appAsyncVersion)
@@ -10,7 +10,11 @@ repositories {
kotlin.js {
binaries.executable()
nodejs()
browser()
}
tasks.named("browserTest").configure {
enabled = false
}
rootProject.tasks
@@ -10,7 +10,11 @@ repositories {
mavenLocal()
}
kotlin.target.nodejs()
kotlin.target.browser()
tasks.named("browserTest").configure {
enabled = false
}
rootProject.tasks
.withType(org.jetbrains.kotlin.gradle.targets.js.npm.tasks.KotlinNpmInstallTask::class.java)