This repository has been archived on 2023-07-28. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon-bot/mastodon_bot/core_test.cljs
Arnout Engelen ea7c057c11 Add a unit test
Splitting up the project in core/main/test
2020-02-27 13:20:11 +01:00

12 lines
245 B
Clojure
Executable file

#!/usr/bin/env lumo
(ns mastodon-bot.core_test
(:require
[cljs.test :refer-macros [deftest is testing run-tests]]
[mastodon-bot.core :as core]
))
(deftest test-read-config
(is (= 300 core/max-post-length)))
(cljs.test/run-tests)