Fork me on GitHub
#clojurescript
<
2020-04-20
>
pinkfrog08:04:21

do you get auto completion support when interop with js files ?

victorb09:04:54

Hello! Anyone got a handy way/tool/lib for getting junit reports from running tests with figwheel-main for clojurescript? Test-runner is running in the browser/cljs context, so having a hard time extracting reports for writing my own reporter, and probably this problem been solved before as well, but can't find any previous examples

dominicm11:04:17

@victorbjelkholm429 I think this is kaocha's sweet spot :)

victorb11:04:11

oh, I see, thanks @dominicm, I was looking at kaocha but arrived at the conclusion I didn't want to integrate a "full featured next-gen test runner" just in order to get reports in a different format, but if it's the simplest solution, it's the simplest solution 🙂 Thanks!

dazld16:04:56

Is there any way to avoid inference warnings for protocols / records etc?

dazld16:04:28

which produces the following warnings:

WARNING: Cannot infer target type in expression (. this -app$core$IFoo$bar$arity$1) at line 6 /Users/danpeddle/projects/cljs-protocol-inference-warning/src/app/core.cljs
WARNING: Cannot infer target type in expression (. this app$core$IFoo$bar$arity$1 this) at line 6 /Users/danpeddle/projects/cljs-protocol-inference-warning/src/app/core.cljs
...

Roman Liutikov16:04:35

Currently not, there was Jira ticket for that

dazld16:04:07

I couldn't find it - do you have it to hand?

dazld17:04:08

found it, empty defrecords pass the test, but as soon as a protocol is declared or a record implements something, it starts to warn

dazld17:04:40

something funky here

dazld17:04:51

there's some kind of statefulness thing going on too - I only get warnings on the first invocation of the compiler.

dazld17:04:09

without deleting out no more warnings are printed

dazld17:04:19

help! 😄

dnolen17:04:33

@dazld should be fixed in the next release (which is soon)

👍 12