function | since v0.0-2496 | ![]() | Edit |
(compose-fixtures f1 f2)
Composes two fixture functions, creating a new fixture function that combines their behavior. NOTE: Incompatible with map fixtures.
(defn compose-fixtures
[f1 f2]
(fn [g] (f1 (fn [] (f2 g)))))