소스 검색

fix: tests

Tienson Qin 4 년 전
부모
커밋
691850ec41
1개의 변경된 파일4개의 추가작업 그리고 3개의 파일을 삭제
  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