Skip to content

Commit

Permalink
[Gradle, JS] Remove redundant webpack plugin in karma
Browse files Browse the repository at this point in the history
Because it is applied in webpack config too

#KT-38109 fixed
  • Loading branch information
ilgonmic committed Apr 16, 2020
1 parent 2e17357 commit 75af8f9
Showing 1 changed file with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 75af8f9

Please sign in to comment.