Fork me on GitHub
#kaocha
<
2024-02-06
>
robert-stuttaford10:02:09

is there an example somewhere showing how to integrate kaocha-cljs2 into a codebase that already has a bunch of clj/jvm tests? specifically, how to deal with the addition to tests.edn :tests [{:type :kaocha.type/cljs2}] which bricks the ability for kaocha to find clj/jvm tests

robert-stuttaford12:02:36

also, although the tests show in the web interface (and it's really cool), the tests can't be found by the command line runner. i see traffic on tunnel when running the cmd line runner, though, and, if i run it while the web tab isn't open yet, it hangs until i do.

plexus11:02:25

On finding jvm tests, if you set up your tests.edn like that you only have a cljs test suite, add a second suite with just an id, it'll default to clojure.test