This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-12-07
Channels
- # adventofcode (15)
- # announcements (1)
- # beginners (2)
- # biff (1)
- # cljfx (1)
- # clojure (3)
- # clojure-austin (6)
- # clojure-europe (6)
- # clojure-hungary (14)
- # clojure-nl (1)
- # clojure-norway (7)
- # clojure-uk (2)
- # clojuredesign-podcast (4)
- # clojurescript (5)
- # cursive (1)
- # datalevin (1)
- # datomic (1)
- # defnpodcast (1)
- # hyperfiddle (15)
- # joyride (3)
- # missionary (3)
- # off-topic (6)
- # portal (4)
- # releases (1)
- # ring-swagger (1)
- # rum (3)
- # squint (2)
Hi, I'm using karma as a test runner, and in the test logs I see some Error logs like
ERROR: 'Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in %s.%s', 'a useEffect cleanup function', '
and
ERROR: 're-frame: no', ':event', 'handler registered for:', {ns: 'filter-events', name: 're-filter-collection', fqn: 'filter-events/re-filter-collection', _hash: -999241368, cljs$lang$protocol_mask$partition0$: 2153775105, cljs$lang$protocol_mask$partition1$: 4096}
is it possible to fail the karma test if such errors occur? Currently the tests are successful.Hey all, how do I set a value to process.exitCode
?
I'm trying to write the following:
if (missingIds()) {process.exitCode=1}
(when (missing-ids?) <cljs-code>)
(set! (.-exitCode process) 1)