We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33fb7d3 commit 004cfcbCopy full SHA for 004cfcb
test/sci/interop_test.cljc
@@ -376,4 +376,5 @@
376
377
#?(:cljs
378
(deftest issue-987-test
379
- (is (= 1 (sci/eval-string "(def x #js {:foo_bar 1}) (.-foo-bar x)" {:classes {:allow :all}})))))
+ (is (= 1 (sci/eval-string "(def x #js {:foo_bar 1}) (.-foo-bar x)" {:classes {:allow :all}})))
380
+ (is (= 1 (sci/eval-string "(def x #js {:foo_bar (fn [] 1)}) (.foo-bar x)" {:classes {:allow :all}})))))
0 commit comments