Skip to content

Commit

Permalink
* test-js
Browse files Browse the repository at this point in the history
  • Loading branch information
swannodette committed Nov 20, 2024
1 parent 125b4a2 commit 867a26b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/test/clojure/cljs/analyzer/spec_tests.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 867a26b

Please sign in to comment.