Liking cljdoc? Tell your friends :D

whitepages.expect-call.internal


*disable-interception*clj


-expect-callcljmacro

(-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.
raw docstring

-expected-callclj

(-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.
raw docstring

make-mockclj

(make-mock [tags real-fn-name & [args & body]])

my-reportclj

(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.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close