babashka/test-resources/lib_tests/portal/test_planck.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

11 lines
326 B
Clojure

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