[Gradle, JS] Fix tests
This commit is contained in:
+2
-2
@@ -43,7 +43,7 @@ class Kotlin2JsIrGradlePluginIT : AbstractKotlin2JsGradlePluginIT(true) {
|
||||
) {
|
||||
assertSuccessful()
|
||||
|
||||
assertTasksExecuted(":compileProductionKotlinJs")
|
||||
assertTasksExecuted(":compileProductionExecutableKotlinJs")
|
||||
|
||||
assertFileExists("build/js/packages/kotlin-js-nodejs/kotlin/kotlin-js-nodejs.js")
|
||||
}
|
||||
@@ -53,7 +53,7 @@ class Kotlin2JsIrGradlePluginIT : AbstractKotlin2JsGradlePluginIT(true) {
|
||||
gradleBuildScript().appendText(
|
||||
"""${"\n"}
|
||||
tasks {
|
||||
named("compileProductionKotlinJs").configure {
|
||||
named("compileProductionExecutableKotlinJs").configure {
|
||||
this as org.jetbrains.kotlin.gradle.targets.js.ir.KotlinJsIrLink
|
||||
type = org.jetbrains.kotlin.gradle.targets.js.dsl.BuildVariantKind.DEVELOPMENT
|
||||
}
|
||||
|
||||
+1
@@ -12,5 +12,6 @@ kotlin {
|
||||
browser {
|
||||
}
|
||||
produceExecutable()
|
||||
binaries.executable()
|
||||
}
|
||||
}
|
||||
-1
@@ -9,7 +9,6 @@ dependencies {
|
||||
kotlin {
|
||||
target {
|
||||
useCommonJs()
|
||||
produceKotlinLibrary()
|
||||
browser {
|
||||
}
|
||||
}
|
||||
|
||||
-1
@@ -12,6 +12,5 @@ kotlin {
|
||||
useCommonJs()
|
||||
browser {
|
||||
}
|
||||
produceKotlinLibrary()
|
||||
}
|
||||
}
|
||||
+1
@@ -15,6 +15,7 @@ kotlin {
|
||||
target {
|
||||
useCommonJs()
|
||||
produceExecutable()
|
||||
binaries.executable()
|
||||
nodejs {
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user