(-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.
(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 builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |