Skip to content

Commit

Permalink
dude
Browse files Browse the repository at this point in the history
  • Loading branch information
borkdude committed Dec 3, 2024
1 parent c83d985 commit 456e5e8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/squint/compiler_test.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -2339,7 +2339,9 @@ new Foo();")
(is (eq {:a [2 3 4]}
(jsv! "(clj->js {:a (map inc [1 2 3])})")))
(is (eq [2 3 4]
(jsv! "(def x {:a 1 :b (map inc [1 2 3])}) (set! (.-a x) x) (:b (clj->js x))"))))
(jsv! "(def x {:a 1 :b (map inc [1 2 3])}) (set! (.-a x) x) (:b (clj->js x))")))
(is (true?
(jsv! "(defclass Foo (constructor [this x] (set! this.x x))) (instance? Foo (clj->js (new Foo [1 2 3])))"))))

(defn init []
(t/run-tests 'squint.compiler-test 'squint.jsx-test 'squint.string-test 'squint.html-test))

0 comments on commit 456e5e8

Please sign in to comment.