Fork me on GitHub
#kaocha
<
2021-10-08
>
andrea.crotti09:10:11

kaocha-cljs2 works with shadow-cljs? I can't find much from googling, any sample project using both by any chance?

Alys Brooks19:10:42

I don't think there's a project (although we've considered making one). However, there's sample configuration in the README: https://github.com/lambdaisland/kaocha-cljs2/blob/master/README.md#configure-your-clojurescript-build. As a point of clarification, it's technically not kaocha-cljs2 that needs to work with shadow-cljs, it's chui, which kaocha-cljs2 talks to in order to run tests in the JS environment, whether browser or node. If you have trouble getting it to work, let us know!