[Gradle, JS] Fail incremental test if there is source maps warning
^KT-47751 fixed
This commit is contained in:
committed by
teamcityserver
parent
f73726c330
commit
adeb2f527b
+8
-1
@@ -133,7 +133,14 @@ class Kotlin2JsIrGradlePluginIT : AbstractKotlin2JsGradlePluginIT(true) {
|
||||
gradleProperties().appendText("\nkotlin.incremental.js.ir=true")
|
||||
gradleProperties().appendText("\norg.gradle.parallel=true")
|
||||
|
||||
build("assemble") {
|
||||
build(
|
||||
"assemble",
|
||||
options = defaultBuildOptions()
|
||||
.copy(
|
||||
jsCompilerType = KotlinJsCompilerType.IR,
|
||||
warningMode = WarningMode.Fail
|
||||
)
|
||||
) {
|
||||
assertSuccessful()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user