cljs.spec.test.alpha/abbrev-result

functionpreviously cljs.spec.test/abbrev-resultEdit
(abbrev-result x)

Source docstring:
Given a check result, returns an abbreviated version
suitable for summary use.
Source code @ clojurescript:src/main/cljs/cljs/spec/test/alpha.cljs
(defn abbrev-result
  [x]
  (if (:failure x)
    (-> (dissoc x ::stc/ret)
      (update :spec s/describe)
      (update :failure unwrap-failure))
    (dissoc x :spec ::stc/ret)))