diff --git a/samples/js/build.gradle.kts b/samples/js/build.gradle.kts index e4050285d..801ed7cd6 100644 --- a/samples/js/build.gradle.kts +++ b/samples/js/build.gradle.kts @@ -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 + } + } + } } }