[Gradle, JS] Remove redundant webpack plugin in karma
Because it is applied in webpack config too #KT-38109 fixed
This commit is contained in:
-11
@@ -199,17 +199,6 @@ class KotlinKarma(override val compilation: KotlinJsCompilation) :
|
|||||||
""".trimIndent()
|
""".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(" return config;")
|
||||||
it.appendln("}")
|
it.appendln("}")
|
||||||
it.appendln()
|
it.appendln()
|
||||||
|
|||||||
Reference in New Issue
Block a user