Fork me on GitHub
#kaocha
<
2020-01-17
>
plexus09:01:06

@delaguardo you didn't mention you were using custom compiler options and precompile? true. You're pretty much on your own in that case. Taking those lines out of your tests.edn your suite runs fine over here.

plexus09:01:38

[email protected]:~/kaocha-cljs-problem$ npm install ws
npm WARN [email protected] No description

+ [email protected]
added 1 package from 1 contributor and audited 1 package in 0.966s
found 0 vulnerabilities

[email protected]:~/kaocha-cljs-problem$ bin/kaocha 
[()][(.)]
1 tests, 1 assertions, 0 failures.

delaguardo09:01:17

https://github.com/DeLaGuardo/kaocha-cljs-problem/runs/394879872 right, now it is working in GH action but on my mac I’m still getting “client failed connecting back” exception

plexus12:01:47

is anyone here succesfuly using kaocha-cljs + node on mac? (looking for some data points)

plexus15:01:25

managed to get an os x vm running 😎 , after a brew install clojure / brew install node / npm install ws it does seem like kaocha-cljs is working, so it's not a blanket os x issue

zharinov17:01:23

While CLI still throws different kinds of error

zharinov17:01:44

Looks like I'll end up developing inside Docker container instead 😁

delaguardo17:01:23

one addition - I’m using nvm to manage multiple node versions on one system

Felipe Cortez21:01:03

I'm trying to set up lein + cljs + kaocha. when I run bin/kaocha, no test is found. I've added a kaocha profile and my tests are in the source-paths. kaocha.repl/test-plan outputs this:

{:kaocha.test-plan/tests
 ({:kaocha.test-plan/tests (),
   :kaocha.plugin.randomize/sort-key 138441634,
   :kaocha/test-paths ["test/cljs"],
   :kaocha/ns-patterns [".*"],
   :kaocha.filter/focus-meta #{},
   :kaocha.filter/skip-meta [:kaocha/skip],
   :kaocha.testable/type :kaocha.type/clojure.test,
   :kaocha/source-paths ["src"],
   :kaocha.testable/desc "unit-cljs (clojure.test)",
   :kaocha.testable/id :unit-cljs}),
 :kaocha/fail-fast? false,
 :kaocha.filter/focus-meta #{},
 :kaocha/color? true,
 :kaocha/cli-options {:config-file "tests.edn"},
 :kaocha.plugin.randomize/seed 807058495,
 :kaocha.plugin.randomize/randomize? true,
 :kaocha/plugins
 [:kaocha.plugin/randomize
  :kaocha.plugin/filter
  :kaocha.plugin/capture-output],
 :kaocha.plugin.capture-output/capture-output? true,
 :kaocha/reporter [kaocha.report/dots]}
does anyone have any pointer?