(called-times? f times)
An assertion to check if f
was called number of times
.
An assertion to check if `f` was called number of `times`.
(called-with-args? f vargs)
An assertion to check if f
was called with vargs
.
vargs
should be a vector of args [args-first-call args-second-call ...] to allow for the checking of multiple calls of f
.
An assertion to check if `f` was called with `vargs`. `vargs` should be a vector of args [args-first-call args-second-call ...] to allow for the checking of multiple calls of `f`.
(called? f)
An assertion to check if f
was called at least 1 time.
An assertion to check if `f` was called at least 1 time.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close