mirror of
https://github.com/status-im/reagent.git
synced 2025-01-28 12:45:13 +00:00
163308a392
ClojureScript all of a sudden complains about "single segment namespaces", which forces a rather massive reorg. Also, cljs.test/run-tests is broken.
20 lines
466 B
Clojure
20 lines
466 B
Clojure
(ns ^:figwheel-always reagentdemo.dev
|
|
(:require [reagentdemo.core :as demo]
|
|
[reagenttest.runtests :as runtests]
|
|
[reagent.core :as r]
|
|
[figwheel.client :as fw]))
|
|
|
|
(when r/is-client
|
|
(fw/start
|
|
{:websocket-url "ws://localhost:3449/figwheel-ws"}))
|
|
|
|
(defn test-results []
|
|
[runtests/test-output-mini])
|
|
|
|
(defn start! []
|
|
(demo/start! {:test-results test-results})
|
|
(when r/is-client
|
|
(runtests/run-tests)))
|
|
|
|
(start!)
|