JS box tests via Mocha: respect the ignoreTestFailures flag

This commit is contained in:
Anton Bannykh
2018-08-07 19:46:20 +03:00
parent bbc5fa4705
commit 2c4e21ca36
+1
View File
@@ -87,6 +87,7 @@ val runMocha by task<NpmTask> {
val target = if (project.hasProperty("teamcity")) "runOnTeamcity" else "test"
setArgs(listOf("run", target))
setIgnoreExitValue(rootProject.getBooleanProperty("ignoreTestFailures") ?: false)
dependsOn(npmInstall, "test")