Konrad Mrożek
2023-08-31 88cddc0fe56a7d23570ce108bcf3f02e446edd59
Treat malli errors as exceptions
1 files modified
3 ■■■■ changed files
clojure/src/test_runner.clj 3 ●●●● patch | view | raw | blame | history
clojure/src/test_runner.clj
@@ -91,7 +91,8 @@
      (when (find-ns 'malli.core)
        (println "Malli detected. Instrument functions...")
        (require 'malli.dev)
        ((find-var 'malli.dev/start!)))
        (require 'malli.dev.pretty)
        ((find-var 'malli.dev/start!) {:report ((find-var 'malli.dev.pretty/thrower))}))
      (let [test-namespaces (->> (all-ns)
                                 (mapcat ns-publics)
                                 (map (comp meta second))