mirror of
https://github.com/jlengrand/atrium.git
synced 2026-03-10 08:01:19 +00:00
Show more than first line when using mocha test runner
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
// 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
|
||||
|
||||
import org.gradle.api.tasks.testing.logging.TestExceptionFormat
|
||||
|
||||
// for infix-api -> change to 'atrium-infix-en_GB-js'
|
||||
val atriumApi = "atrium-fluent-en_GB-js"
|
||||
val atriumVersion = "0.16.0"
|
||||
@@ -28,6 +30,12 @@ version = "0.0.1"
|
||||
|
||||
kotlin {
|
||||
js {
|
||||
nodejs()
|
||||
nodejs {
|
||||
testTask {
|
||||
testLogging {
|
||||
exceptionFormat = TestExceptionFormat.FULL // Show full exception when an assertion fails
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user