[Gradle, JS] KT-36784 Fix tests on composite
#KT-32466 fixed #KT-36784 fixed #KT-36864 fixed
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
+5
-1
@@ -10,7 +10,11 @@ repositories {
|
||||
|
||||
kotlin.js {
|
||||
binaries.executable()
|
||||
nodejs()
|
||||
browser()
|
||||
}
|
||||
|
||||
tasks.named("browserTest").configure {
|
||||
enabled = false
|
||||
}
|
||||
|
||||
rootProject.tasks
|
||||
|
||||
+5
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user