This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-07-02
Channels
- # beginners (130)
- # calva (3)
- # cider (13)
- # circleci (1)
- # cljsrn (19)
- # clojure (106)
- # clojure-europe (10)
- # clojure-losangeles (1)
- # clojure-nl (9)
- # clojure-uk (33)
- # clojurescript (16)
- # code-reviews (24)
- # conjure (11)
- # cursive (41)
- # data-science (9)
- # datomic (63)
- # fulcro (19)
- # graphql (12)
- # helix (4)
- # kaocha (2)
- # leiningen (3)
- # malli (8)
- # meander (1)
- # off-topic (17)
- # re-frame (16)
- # reitit (12)
- # sci (32)
- # shadow-cljs (73)
- # spacemacs (31)
- # sql (38)
- # tools-deps (26)
- # xtdb (28)
I'm getting a build-warning on using cljs.test/async
react_devtools_backend.js:6 BUILD-WARNING in test/material_test.cljs at [84:17]
Symbol cljs.test/IAsyncTest is not a protocol
This is with the setTimeout example from the docs copied. I'm using clojurescript "1.10.520"
and shadow-cljs as build tool. Any clues to why this is happening?(deftest example-with-timeout
(async done
(js/setTimeout (fn []
;; make assertions in async context...
(done) ;; ...then call done
)
0)))
in require:
(ns test.material-test
(:require
[cljs.test :as t :refer-macros [deftest testing is async]]
;;more...
))
browser.cljs:168 BUILD-WARNING in test/material_test.cljs at [98:3]
Symbol cljs.test/IAsyncTest is not a protocol
shadow$cljs$devtools$client$browser$handle_build_complete @ browser.cljs:168
shadow$cljs$devtools$client$browser$handle_message @ browser.cljs:331
eval @ env.cljs:196
shadow$cljs$devtools$client$env$process_next_BANG_ @ env.cljs:184
shadow$cljs$devtools$client$env$process_ws_msg @ env.cljs:197
eval @ browser.cljs:412
Without that plugin.