From 75af8f958aa6c3f3f20281a344c1d84b09fbe578 Mon Sep 17 00:00:00 2001 From: Ilya Goncharov Date: Wed, 15 Apr 2020 11:59:56 +0300 Subject: [PATCH] [Gradle, JS] Remove redundant webpack plugin in karma Because it is applied in webpack config too #KT-38109 fixed --- .../gradle/targets/js/testing/karma/KotlinKarma.kt | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/libraries/tools/kotlin-gradle-plugin/src/main/kotlin/org/jetbrains/kotlin/gradle/targets/js/testing/karma/KotlinKarma.kt b/libraries/tools/kotlin-gradle-plugin/src/main/kotlin/org/jetbrains/kotlin/gradle/targets/js/testing/karma/KotlinKarma.kt index 22a9c70e3bea8..2d6a6a47c2304 100644 --- a/libraries/tools/kotlin-gradle-plugin/src/main/kotlin/org/jetbrains/kotlin/gradle/targets/js/testing/karma/KotlinKarma.kt +++ b/libraries/tools/kotlin-gradle-plugin/src/main/kotlin/org/jetbrains/kotlin/gradle/targets/js/testing/karma/KotlinKarma.kt @@ -199,17 +199,6 @@ class KotlinKarma(override val compilation: KotlinJsCompilation) : """.trimIndent() ) - //language=ES6 - it.appendln( - """ - // noinspection JSUnnecessarySemicolon - ;(function(config) { - const tcErrorPlugin = require('kotlin-test-js-runner/tc-log-error-webpack'); - config.plugins.push(new tcErrorPlugin(tcErrorPlugin)) - })(config); - """.trimIndent() - ) - it.appendln(" return config;") it.appendln("}") it.appendln()