Closed binarykitchen closed 7 years ago
Tried to pass on some closure definitions to the cljs compiler like that
(test-cljs :js-env :phantom :cljs-opts {:compiler-options {:closure-defines {"PORT" 1234 "HOST" "just.a.test.host"}}})))
also tried with
(test-cljs :js-env :phantom :cljs-opts {:closure-defines {"PORT" 1234 "HOST" "just.a.test.host"}}})))
When running the tests, these constants aren't defined at all. Am I missing something?
apologises. just double checked and it works when using :cljs-opts {:closure-defines {"PORT" 1234 ...
:cljs-opts {:closure-defines {"PORT" 1234 ...
Tried to pass on some closure definitions to the cljs compiler like that
also tried with
When running the tests, these constants aren't defined at all. Am I missing something?