Fork me on GitHub
#kaocha
<
2020-09-22
>
jeaye19:09:07

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?

jeaye19:09:51

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

jeaye19:09:50

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.

jeaye19:09:26

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

jeaye20:09:02

:face_palm:

jeaye20:09:52

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.

👍 6