Can kaocha run clojurescript tests? Or.. is it possible to use kaocha's reporter from shadow-cljs?
the short answer, yes, Kaocha can run clojurescript tests. The longer answer is that doing test running for clojurescript is inherently quite complicated, we've tried to very different approaches in the past, hence why there's https://github.com/lambdaisland/kaocha-cljs and https://github.com/lambdaisland/kaocha-cljs2 . The kaocha-cljs2 is not just a newer version of the kaocha-cljs, it's a completely different approach. 2 is more flexible, and can in pricinple be adapted to any scenario and setup, but it's more work to set up. For simple cases, especially libraries, kaocha-cljs just depends on fairly vanilla clojurescript stuff, and works fine. kaocha-cljs however is not compatible with shadow-cljs. Either you have to make sure you can do a build with vanilla cljs, or you need to set up kaocha-cljs2.
here's a repo that demonstrates different approaches to testing cljs https://github.com/plexus/cljs-test-example
Maybe this? https://github.com/lambdaisland/kaocha-cljs