From cd13e4420d4922ef650e9eeecf9816c11d191fb9 Mon Sep 17 00:00:00 2001 From: Michiel Borkent Date: Tue, 14 Apr 2020 22:17:20 +0200 Subject: [PATCH] Add statsd test --- test/babashka/main_test.clj | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/babashka/main_test.clj b/test/babashka/main_test.clj index fa58881f..057f8b81 100644 --- a/test/babashka/main_test.clj +++ b/test/babashka/main_test.clj @@ -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