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?
Here's a trivial example of what happens, with a failing test, including the test, config, and output: https://gist.github.com/jeaye/48c41d05220135b9cb580d2561e8e1af
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.
@plexus, if I may ping you, your support would be very much appreciated.
:face_palm:
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.