This commit is contained in:
Michiel Borkent 2021-03-20 14:49:41 +01:00
parent 5b9e3c3267
commit 3750ea0459

View file

@ -88,3 +88,9 @@
:all {:task/type :babashka
:args [:do :div-by-zero :or-do :sum]}}}
(is (= 6 (bb :all))))))
(deftest priotize-user-task-test
(is (map? (bb :describe)))
(with-config {:tasks {:describe {:task/type :babashka
:args ["-e" "(+ 1 2 3)"]}}}
(is (= 6 (bb :describe)))))