Fork me on GitHub
#cljs-dev
<
2017-09-13
>
richiardiandrea21:09:11

I was wondering whether it is a good idea to customize cljs.test reporters in order to improve on this:

ERROR in (test-hydrate-saladman) (TypeError:NaN:NaN)
Uncaught exception, not in assertion.
expected: nil
  actual: #object[TypeError TypeError: Cannot read property 'call' of null]

Ran 1 tests containing 1 assertions.
0 failures, 1 errors.
The above does not give any information on the location of the error and leaves you kind of baffled

dnolen21:09:32

it’s a good idea yes

richiardiandrea22:09:53

oh I have also noticed that you can pass a :formatter key in the compiler env...but I guess it can be improved anyways