Omit tests running in node

This commit is contained in:
Dan Holmsand 2015-09-25 11:48:11 +02:00
parent e4fee70ac2
commit 55a4b4e1df
1 changed files with 32 additions and 30 deletions

View File

@ -567,6 +567,7 @@
(is (= (rstr [c2]) "<div>foo</div>"))))
(deftest basic-with-let
(when isClient
(let [n1 (atom 0)
n2 (atom 0)
n3 (atom 0)
@ -584,9 +585,10 @@
(is (= [1 1 0] [@n1 @n2 @n3]))
(r/flush)
(is (= [1 2 0] [@n1 @n2 @n3]))))
(is (= [1 2 1] [@n1 @n2 @n3]))))
(is (= [1 2 1] [@n1 @n2 @n3])))))
(deftest with-let-destroy-only
(when isClient
(let [n1 (atom 0)
n2 (atom 0)
c (fn []
@ -598,7 +600,7 @@
(with-mounted-component [c]
(fn [_ div]
(is (= [1 0] [@n1 @n2]))))
(is (= [1 1] [@n1 @n2]))))
(is (= [1 1] [@n1 @n2])))))
(deftest with-let-non-reactive
(let [n1 (atom 0)