[Gradle, JS] Fix failing Karma tests for empty tests
#KT-35318 fixed
This commit is contained in:
-1
@@ -20,7 +20,6 @@ internal class DukatRootResolverPlugin(val resolver: KotlinRootNpmResolver) : Ro
|
|||||||
}
|
}
|
||||||
|
|
||||||
override fun close(resolution: KotlinRootNpmResolution) {
|
override fun close(resolution: KotlinRootNpmResolution) {
|
||||||
println("tests")
|
|
||||||
if (resolver.forceFullResolve) {
|
if (resolver.forceFullResolve) {
|
||||||
// inside idea import
|
// inside idea import
|
||||||
compilations.forEach {
|
compilations.forEach {
|
||||||
|
|||||||
+1
@@ -16,6 +16,7 @@ data class KarmaConfig(
|
|||||||
val browsers: MutableList<String> = mutableListOf(),
|
val browsers: MutableList<String> = mutableListOf(),
|
||||||
val customLaunchers: MutableMap<String, CustomLauncher> = mutableMapOf(),
|
val customLaunchers: MutableMap<String, CustomLauncher> = mutableMapOf(),
|
||||||
val failOnFailingTestSuite: Boolean = false,
|
val failOnFailingTestSuite: Boolean = false,
|
||||||
|
val failOnEmptyTestSuite: Boolean = false,
|
||||||
val reporters: MutableList<String> = mutableListOf(),
|
val reporters: MutableList<String> = mutableListOf(),
|
||||||
val preprocessors: MutableMap<String, MutableList<String>> = mutableMapOf(),
|
val preprocessors: MutableMap<String, MutableList<String>> = mutableMapOf(),
|
||||||
var coverageReporter: CoverageReporter? = null
|
var coverageReporter: CoverageReporter? = null
|
||||||
|
|||||||
Reference in New Issue
Block a user