babashka/test-resources/lib_tests/portal/test_runner.cljs
Gabriel Horner 78a05139cb Add a number of library tests from projects.md
Also add more docs around adding test libs and tweak add script
2021-12-28 09:23:37 -05:00

14 lines
381 B
Clojure

(ns portal.test-runner
(:require [cljs.test :refer [run-tests]]
[portal.runtime.cson-test]
[portal.runtime.fs-test]))
(defmethod cljs.test/report [:cljs.test/default :end-run-tests] [m]
(when-not (cljs.test/successful? m)
(.exit js/process 1)))
(defn -main []
(run-tests 'portal.runtime.cson-test
'portal.runtime.fs-test))
(-main)