-
-
Notifications
You must be signed in to change notification settings - Fork 226
Closed
Description
Platform (all, jvm, js): js
Extension (none, kotlin 1.3): none
Code related feature
It seems like mocha or maybe also the gradle plugin of Jetbrains is configured per default in a way that we see only the first line of an error in the terminal. We see the full message in the resulting gradle test report html though.
It would be nice, if we would see the whole message and not just the first line.
I am totally not sure how to do this, can only give the following hint, that it might be we can configure mocha somehow via the following (in samples/js/build.gradle)
kotlin {
js {
nodejs{
testTask{
useMocha{
// config here
}
}
}
}
}
I suggest you let /samples/js/src/test/kotlin/org/atriumlib/samples/mocha/SampleJsTest.kt fail on purpose (e.g. set toBe(2)
) and run the sample afterwards:
cd samples/js
./gradlew buil