This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-08-30
Channels
- # announcements (12)
- # babashka (25)
- # biff (30)
- # cherry (34)
- # cider (46)
- # clj-kondo (23)
- # clojure (37)
- # clojure-berlin (6)
- # clojure-europe (12)
- # clojure-nl (4)
- # clojure-norway (6)
- # clojure-uk (2)
- # clojurescript (8)
- # conjure (1)
- # cursive (4)
- # data-science (11)
- # datalevin (12)
- # datascript (15)
- # emacs (2)
- # events (1)
- # fulcro (14)
- # graalvm (16)
- # gratitude (23)
- # honeysql (11)
- # jobs (2)
- # jobs-discuss (14)
- # kaocha (1)
- # leiningen (8)
- # nbb (45)
- # off-topic (7)
- # portal (8)
- # re-frame (9)
- # releases (2)
- # shadow-cljs (24)
- # squint (5)
- # tools-build (17)
- # tools-deps (7)
- # vim (5)
can one access the javascript "arguments" property from clojure? js/arguments tells me it's undefined https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/arguments
But it's outside of the code block, yeah - it's just my habit of ending statements properly. :)
in a cljs.test
fixture is there a way to get the name of the var under test? Iād like to capture how long different tests take to execute
I would expect this to be something to look for in whatever test runner you're using. I know kaocha has a profiling plugin that will output test times (I've only used the Clojure version though, not in ClojureScript).
I was curious about that too at one point. Test reporters do have access to the test name if that helps. Clojure example (which I assume applies also for cljs): https://github.com/clj-commons/etaoin/blob/6d615d02895e7250f936688f280f0dedc4e0a6b0/test/etaoin/test_report.clj#L9-L13