(-expect-call expected-fns & body)
expected-fns: (fn arg-match body...) or [(fn arg-match body...), (fn arg-match body...)...] Each fn may be preceded by keywords :more, :never or :do.
expected-fns: (fn arg-match body...) or [(fn arg-match body...), (fn arg-match body...)...] Each fn may be preceded by keywords :more, :never or :do.
(-expected-call [more-fns calls :as state] real-fn real-fn-name args)
Used by (expect-call) macro. You don't call this.
Used by (expect-call) macro. You don't call this.
(make-mock [tags real-fn-name & [args & body]])
(my-report msg depth)
Disable interception, to prevent looping if the test reporting code uses a function we're intercepting. Also put accurate file and line information into the message.
Disable interception, to prevent looping if the test reporting code uses a function we're intercepting. Also put accurate file and line information into the message.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close