[Gradle, JS] Fix failing Karma tests for empty tests

#KT-35318 fixed
This commit is contained in:
Ilya Goncharov
2019-12-09 13:15:18 +03:00
parent 36d87c9905
commit 096a6c9551
2 changed files with 1 additions and 1 deletions
@@ -20,7 +20,6 @@ internal class DukatRootResolverPlugin(val resolver: KotlinRootNpmResolver) : Ro
}
override fun close(resolution: KotlinRootNpmResolution) {
println("tests")
if (resolver.forceFullResolve) {
// inside idea import
compilations.forEach {
@@ -16,6 +16,7 @@ data class KarmaConfig(
val browsers: MutableList<String> = mutableListOf(),
val customLaunchers: MutableMap<String, CustomLauncher> = mutableMapOf(),
val failOnFailingTestSuite: Boolean = false,
val failOnEmptyTestSuite: Boolean = false,
val reporters: MutableList<String> = mutableListOf(),
val preprocessors: MutableMap<String, MutableList<String>> = mutableMapOf(),
var coverageReporter: CoverageReporter? = null