0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-10 08:50:57 -05:00
penpot/frontend/test/uxbox/tests/main.cljs

23 lines
506 B
Text
Raw Normal View History

2016-06-21 11:31:35 -05:00
(ns uxbox.tests.main
2016-02-02 14:33:32 -05:00
(:require [cljs.test :as test]
2017-03-01 14:09:14 -05:00
[uxbox.tests.test-util-geom]
[uxbox.tests.test-main-data-shapes-impl]))
2016-02-02 14:33:32 -05:00
(enable-console-print!)
(defn main
[]
(test/run-tests
(test/empty-env)
2017-03-01 14:09:14 -05:00
'uxbox.tests.test-util-geom
'uxbox.tests.test-main-data-shapes-impl
2016-02-02 14:33:32 -05:00
))
(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)