This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-12-01
Channels
- # adventofcode (170)
- # announcements (3)
- # babashka (1)
- # beginners (25)
- # cherry (1)
- # cider (3)
- # clj-kondo (5)
- # cljsrn (9)
- # clojure (27)
- # clojure-art (2)
- # clojure-europe (11)
- # clojure-nl (1)
- # clojure-norway (26)
- # clojure-sweden (2)
- # clojure-uk (5)
- # code-reviews (12)
- # component (8)
- # conjure (1)
- # data-science (2)
- # hyperfiddle (6)
- # malli (5)
- # off-topic (65)
- # overtone (34)
- # polylith (3)
- # re-frame (2)
- # reagent (2)
- # releases (3)
- # rum (1)
- # shadow-cljs (2)
- # slack-help (8)
- # sql (8)
- # squint (100)
- # thejaloniki (3)
- # tools-build (16)
- # vim (7)
- # yamlscript (1)
Is there a way to pretty print output in :node-test
terminal output?
For this config:
:node-test {:target :node-test
:output-to "out/node-tests.js"
:ns-regexp "-test$"
:autorun :true}}}
Example output:
FAIL in (state-machine) (app/game/state/game_state_test.cljs:10:9)
Machine factory: make machine
expected: (= (sut/make-machine {:collection {:states (ordered-map :a {:on {:prev {:target :origin}}} :b :c {:on {:next {:target :end}}})}, :on {:skip {:target :end}}}) {[:collection :a] {:on {:prev {:target :origin}, :next {:target :b}, :skip {:target :end}}}, [:collection :b] {:on {:prev {:target :a}, :next {:target :c}, :skip {:target :end}}}, [:collection :c] {:on {:prev {:target :b}, :next {:target :end}, :skip {:target :end}}}})
actual: (not (= {:collection {:states #ordered/map ([:a {:on {:prev {:target :origin}}}] [:b :c] [{:on {:next {:target :end}}} nil])}, :on {:skip {:target :end}}} {[:collection :a] {:on {:prev {:target :origin}, :next {:target :b}, :skip {:target :end}}}, [:collection :b] {:on {:prev {:target :a}, :next {:target :c}, :skip {:target :end}}}, [:collection :c] {:on {:prev {:target :b}, :next {:target :end}, :skip {:target :end}}}}))