This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-01-17
Channels
- # aleph (2)
- # announcements (20)
- # aws (43)
- # aws-lambda (5)
- # babashka (9)
- # beginners (231)
- # calva (4)
- # cider (12)
- # cljdoc (8)
- # cljsrn (3)
- # clojure (47)
- # clojure-europe (5)
- # clojure-nl (4)
- # clojure-spec (41)
- # clojure-uk (47)
- # clojuredesign-podcast (3)
- # clojurescript (20)
- # cryogen (3)
- # cursive (4)
- # data-science (2)
- # datomic (15)
- # emacs (4)
- # fulcro (21)
- # jackdaw (6)
- # jobs (1)
- # joker (13)
- # juxt (8)
- # kaocha (10)
- # malli (7)
- # off-topic (29)
- # pathom (11)
- # re-frame (19)
- # reagent (3)
- # reitit (26)
- # remote-jobs (8)
- # schema (2)
- # shadow-cljs (112)
- # spacemacs (1)
- # tools-deps (49)
- # vim (2)
- # xtdb (7)
@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.
dev@autopair:~/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
dev@autopair:~/kaocha-cljs-problem$ bin/kaocha
[()][(.)]
1 tests, 1 assertions, 0 failures.
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
is anyone here succesfuly using kaocha-cljs + node on mac? (looking for some data points)
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
Just managed to run in browser with this configuration: https://github.com/lambdaisland/kaocha-cljs/blob/master/src/kaocha/type/cljs.clj#L458
one addition - I’m using nvm to manage multiple node versions on one system
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?