Hi!
I'm not clearly understand how I can get the number of failed tests when run test with cljs.test and return proper exit-code.
I have previously experimented with run.js and with :main option on cljs compiler. But in all cases i found the same behavior.
I don't know a proper way for obtain a result after test are run for proper set nodejs process.exitCode property...
- The `run-tests` function does not returns any result.
- Passing custom env to `run-test` has same effect.
- I have tried set the env with binding (obviously, same effect)
I have read the documentation (the docstrings) but I do not find any relevant that can help me.
I'm currently have tests with cljs.test (sync and async) on varios apps running with nodejs and the only way to see if tests pases is viewing the output to the console. Without proper returncode when tests are failing travis (or any other service for tests) does not work properly.
Thanks!
Cheers.
Andrey