Show more than first line when using mocha test runner

This commit is contained in:
Ed
2021-07-13 13:00:41 -07:00
parent 3a7c9cdac7
commit 24672bced1

View File

@@ -1,6 +1,8 @@
// Example project to show how to use Atrium in combination with mocha // Example project to show how to use Atrium in combination with mocha
// For more information on how to setup Atrium for a JS project -> https://github.com/robstoll/atrium#js // For more information on how to setup Atrium for a JS project -> https://github.com/robstoll/atrium#js
import org.gradle.api.tasks.testing.logging.TestExceptionFormat
// for infix-api -> change to 'atrium-infix-en_GB-js' // for infix-api -> change to 'atrium-infix-en_GB-js'
val atriumApi = "atrium-fluent-en_GB-js" val atriumApi = "atrium-fluent-en_GB-js"
val atriumVersion = "0.16.0" val atriumVersion = "0.16.0"
@@ -28,6 +30,12 @@ version = "0.0.1"
kotlin { kotlin {
js { js {
nodejs() nodejs {
testTask {
testLogging {
exceptionFormat = TestExceptionFormat.FULL // Show full exception when an assertion fails
}
}
}
} }
} }