(times n)
A helper function for externally-configurable test run counts.
Usage:
(defspec foo-test (times 20) ...)
Simply returns n normally, but if the TEST_CHECK_FACTOR env variable is set to a number, n will be multiplied by that number.
In ClojureScript, TEST_CHECK_FACTOR will retrieved at compile-time.
A helper function for externally-configurable test run counts. Usage: (defspec foo-test (times 20) ...) Simply returns n normally, but if the TEST_CHECK_FACTOR env variable is set to a number, n will be multiplied by that number. In ClojureScript, TEST_CHECK_FACTOR will retrieved at compile-time.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close