Add statsd test
This commit is contained in:
parent
c3ee37e8c1
commit
cd13e4420d
1 changed files with 7 additions and 0 deletions
|
|
@ -402,6 +402,13 @@
|
|||
(bb nil (format "(.deleteOnExit (io/file \"%s\"))" p))
|
||||
(is (false? (.exists f))))))
|
||||
|
||||
(deftest statsd-client-test
|
||||
(is (= :success (bb nil "
|
||||
(load-file (io/file \"test-resources\" \"babashka\" \"statsd.clj\"))
|
||||
(require '[statsd-client :as c])
|
||||
(c/increment :foo)
|
||||
:success"))))
|
||||
|
||||
;;;; Scratch
|
||||
|
||||
(comment
|
||||
|
|
|
|||
Loading…
Reference in a new issue