kaocha

Official support channel: https://clojureverse.org/c/projects/kaocha
jeaye 2020-09-22T19:36:07.009900Z

I've just set up kaocha-cljs for a project and I have it running some tests, but it always immediately exits after running. When I add the ^:refresh meta to a test, it only runs that test, as expected, but then it also just immediately exits. Is this expected?

jeaye 2020-09-22T19:43:51.010600Z

Here's a trivial example of what happens, with a failing test, including the test, config, and output: https://gist.github.com/jeaye/48c41d05220135b9cb580d2561e8e1af

jeaye 2020-09-22T19:44:50.011500Z

Note that the same immediate exit happens without the failure, too, if I change the test to use (is true) instead. It'll just output 1 tests, 1 assertions, 0 failures. and then exit.

jeaye 2020-09-22T19:45:26.012200Z

@plexus, if I may ping you, your support would be very much appreciated.

jeaye 2020-09-22T20:19:02.012500Z

:face_palm:

jeaye 2020-09-22T20:19:52.013300Z

I was just missing --watch. It's not mentioned anywhere in the kaocha-cljs docs, but I found it by looking through the kaocha docs.

2👍