mirror of https://github.com/status-im/reagent.git
Fix tests when macros change
This commit is contained in:
parent
ed06312eaf
commit
1a2417a14b
|
@ -5,9 +5,9 @@
|
|||
|
||||
(declare ^:dynamic *ratom-context*)
|
||||
|
||||
(def debug false)
|
||||
(defonce debug false)
|
||||
|
||||
(def -running (clojure.core/atom 0))
|
||||
(defonce -running (clojure.core/atom 0))
|
||||
|
||||
(defn running [] @-running)
|
||||
|
||||
|
|
|
@ -6,10 +6,12 @@
|
|||
(:require [cemerick.cljs.test :as t]
|
||||
[reagent.ratom :as rv]))
|
||||
|
||||
(set! rv/debug true)
|
||||
(defn running []
|
||||
(set! rv/debug true)
|
||||
(rv/running))
|
||||
|
||||
(defn running [] (rv/running))
|
||||
(defn dispose [v] (rv/dispose! v))
|
||||
(defn dispose [v]
|
||||
(rv/dispose! v))
|
||||
|
||||
(defn ratom-perf []
|
||||
(dbg "ratom-perf")
|
||||
|
|
Loading…
Reference in New Issue