bensu / doo

doo is a library and lein plugin to run cljs.test on different js environments.
Eclipse Public License 1.0
324 stars 63 forks source link

Log error stack trace (PhantomJS/SlimerJS) #188

Closed immoh closed 5 years ago

immoh commented 5 years ago

This PR modifies this output

;; ======================================================================
;; Testing with Phantom:

ReferenceError: Can't find variable: Map

  phantomjs://code/phantom8526881425544510795.js:81 in onError
Subprocess failed

to include stack trace

;; ======================================================================
;; Testing with Phantom:

ReferenceError: Can't find variable: Map

  phantomjs://code/phantom5344940102494846597.js:81 in onError
  file:///Users/iheikkinen/src/foobar/target/out/cljsjs/react-dom/development/react-dom.inc.js:6075
  file:///Users/iheikkinen/src/foobar/target/out/cljsjs/react-dom/development/react-dom.inc.js:15
Subprocess failed

so that troubleshooting is a bit easier.

miikka commented 5 years ago

I figured out that it's a good time to create a release, so this is in [lein-doo "0.1.11"].