🐛 Fix warnings on compiling frontend tests

This commit is contained in:
Andrey Antukh 2023-12-04 19:25:45 +01:00 committed by Andrés Moya
parent 12d7b0521d
commit a341a956b8
2 changed files with 2 additions and 2 deletions

View file

@ -23,7 +23,7 @@
(js/console.log "STORE ERROR" (.-stack cause)) (js/console.log "STORE ERROR" (.-stack cause))
(when-let [data (some-> cause ex-data ::sm/explain)] (when-let [data (some-> cause ex-data ::sm/explain)]
(pp/pprint (sm/humanize-data data)))) (pp/pprint (sm/humanize-explain data))))
(defn prepare-store (defn prepare-store
"Create a store with the given initial state. Wait until "Create a store with the given initial state. Wait until

View file

@ -14,7 +14,7 @@
(try (try
(js/console.log "EE" (.-stack cause)) (js/console.log "EE" (.-stack cause))
(when-let [data (some-> cause ex-data ::sm/explain)] (when-let [data (some-> cause ex-data ::sm/explain)]
(pp/pprint (sm/humanize-data data))) (pp/pprint (sm/humanize-explain data)))
(finally (finally
(js/console.log "EXIT") (js/console.log "EXIT")
(.exit js/process -1))))) (.exit js/process -1)))))