mirror of https://github.com/status-im/reagent.git
Skip tests that require browser on node
This commit is contained in:
parent
d3ee4a7f8b
commit
cd0863f1b2
|
@ -909,7 +909,7 @@
|
|||
(is (thrown-with-msg?
|
||||
:default #"Invalid tag: 'p.'"
|
||||
(rstr [:p.])))
|
||||
|
||||
(when r/is-client
|
||||
(let [comp1 (fn comp1 [x]
|
||||
x)
|
||||
comp2 (fn comp2 [x]
|
||||
|
@ -956,7 +956,7 @@
|
|||
(let [e (debug/track-warnings
|
||||
#(r/as-element (comp4)))]
|
||||
(is (re-find #"Every element in a seq should have a unique :key"
|
||||
(-> e :warn first)))))))
|
||||
(-> e :warn first))))))))
|
||||
|
||||
(deftest test-dom-node
|
||||
(let [node (atom nil)
|
||||
|
|
Loading…
Reference in New Issue