Skip tests that require browser on node

This commit is contained in:
Dan Holmsand 2016-05-27 13:14:35 +02:00
parent d3ee4a7f8b
commit cd0863f1b2
1 changed files with 44 additions and 44 deletions

View File

@ -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)