JS box tests via Mocha: respect the ignoreTestFailures flag
This commit is contained in:
@@ -87,6 +87,7 @@ val runMocha by task<NpmTask> {
|
|||||||
val target = if (project.hasProperty("teamcity")) "runOnTeamcity" else "test"
|
val target = if (project.hasProperty("teamcity")) "runOnTeamcity" else "test"
|
||||||
setArgs(listOf("run", target))
|
setArgs(listOf("run", target))
|
||||||
|
|
||||||
|
setIgnoreExitValue(rootProject.getBooleanProperty("ignoreTestFailures") ?: false)
|
||||||
|
|
||||||
dependsOn(npmInstall, "test")
|
dependsOn(npmInstall, "test")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user