diff --git a/src/test/clojure/cljs/analyzer/spec_tests.clj b/src/test/clojure/cljs/analyzer/spec_tests.clj index 48f3930bf..c24a1b458 100644 --- a/src/test/clojure/cljs/analyzer/spec_tests.clj +++ b/src/test/clojure/cljs/analyzer/spec_tests.clj @@ -133,6 +133,11 @@ (is (= :invoke (:op node))) (is (s/valid? ::a/node node)))) +(deftest test-js + (let [node (analyze ns-env '(js* "~{}" 1))] + (is (= :js (:op node))) + (is (s/valid? ::a/node node)))) + (deftest test-js-array (let [node (analyze ns-env (ana-api/with-state (ana-api/empty-state)