Closed zendevil closed 4 years ago
Shadow-cljs is unfortunately not supported at the moment.
Duplicate of #2
@zendevil ran into a similar issue -- in my test.edn
I did this to get around this warning when running tests and provide the needed libs
:cljs/compiler-options {:foreign-libs [{:file "https://cdnjs.cloudflare.com/ajax/libs/ant-design-icons/4.2.2/index.umd.min.js"
:provides ["@ant-design/icons"]}
{:file "https://cdnjs.cloudflare.com/ajax/libs/antd/4.7.2/antd.compact.min.css"
:provides ["antd"]}]}}
Requiring cljsjs
libs also works in the :test
alias of your deps file if they're available
I try running a test on this cljs file like so:
But I get the following error:
I installed the @testing-library/react library through npm. How do I run kaocha tests then that include npm dependencies?