Browse Source

fix: tests

Tienson Qin 3 years ago
parent
commit
691850ec41
1 changed files with 4 additions and 3 deletions
  1. 4 3
      src/main/frontend/util.cljc

+ 4 - 3
src/main/frontend/util.cljc

@@ -343,9 +343,10 @@
     (nth c i)))
 
 #?(:cljs
-   (extend-type js/NodeList
-     ISeqable
-     (-seq [array] (array-seq array 0))))
+   (when-not node-test?
+     (extend-type js/NodeList
+       ISeqable
+       (-seq [array] (array-seq array 0)))))
 
 ;; Caret
 #?(:cljs