mirror of
https://github.com/penpot/penpot.git
synced 2025-01-08 16:00:19 -05:00
22 lines
506 B
Clojure
22 lines
506 B
Clojure
(ns uxbox.tests.main
|
|
(:require [cljs.test :as test]
|
|
[uxbox.tests.test-util-geom]
|
|
[uxbox.tests.test-main-data-shapes-impl]))
|
|
|
|
(enable-console-print!)
|
|
|
|
(defn main
|
|
[]
|
|
(test/run-tests
|
|
(test/empty-env)
|
|
'uxbox.tests.test-util-geom
|
|
'uxbox.tests.test-main-data-shapes-impl
|
|
))
|
|
|
|
(defmethod test/report [:cljs.test/default :end-run-tests]
|
|
[m]
|
|
(if (test/successful? m)
|
|
(set! (.-exitCode js/process) 0)
|
|
(set! (.-exitCode js/process) 1)))
|
|
|
|
(set! *main-cli-fn* main)
|