Skip to content

Commit

Permalink
Add another test
Browse files Browse the repository at this point in the history
  • Loading branch information
borkdude committed Mar 6, 2023
1 parent fe930d6 commit 4ab93c2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/sci/interop_test.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -287,5 +287,9 @@
#?(:cljs
(deftest delayed-lookup-test
(is (true? (tu/eval* "(def f (fn [] (when js/document (js/document.getElementById \"foo\")) true)) (f)"
{:classes
{'js goog/global :allow :all}})))

(is (true? (tu/eval* "(when js/document js/document.getElementById) true"
{:classes
{'js goog/global :allow :all}})))))

0 comments on commit 4ab93c2

Please sign in to comment.