(parse-arrow-count sym)
parses how many times the mock/stub should be called with.
parses how many times the mock/stub should be called with. * => implies 1+, * =Ax=> implies exactly A times. Provided arrow counts cannot be zero because mocking should not be a negative assertion, but a positive one. IE: verify that what you want to be called is called instead, or that, if necessary, it should throw an error if called.
(parse-mock-triple env conform? {:as triple :keys [under-mock arrow result]})
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close