lambdaisland / kaocha-cljs

ClojureScript support for Kaocha
Eclipse Public License 1.0
40 stars 10 forks source link

Make sure `js/console.log` output shows up in test output #11

Closed plexus closed 5 years ago

plexus commented 5 years ago

Handle it the same way as stdout output on the Clojure side, i.e. capture it by default, and print it out when tests fail.

This work is funded by Nextjournal.

plexus commented 5 years ago

@kommen from some initial testing it seems you do get the output of js/console.log when running with --no-capture-output, but it's not properly printed when output capturing is on and a test fails. I'll look into that later this week or next week.

plexus commented 5 years ago

@kommen this should be fix in the latest release, let me know if this works for you!