Fork me on GitHub
#kaocha
<
2020-02-24
>
dominicm14:02:41

Unrelated. I'm having issues, without my library, where commented out tests are being run. I've bumped all the versions. I'm using ; comments. I've run lein clean. I'm very confused. Any hints?

dominicm14:02:48

Ah. Lein clean is useless because it's down to wherever your compiler writes to, eg out/

dominicm14:02:48

Oh, and latest version of kaocha doesn't work for me because it doesn't depend on a version of glogi, only "release", which is deprecated and not supported by my proxy.

plexus15:02:30

oh, that should be fixed, I'll put out a release. You're talking about kaocha-cljs right?

dominicm16:02:00

Yeah. I raised an issue.

plexus16:02:42

thanks, I released kaocha-cljs 0.0-71 with a specific glogi version

dominicm16:02:44

Thanks, I can straight bump that.

plexus17:02:53

😂 4
dominicm17:02:25

Are there situations where :bindings don't work?

dominicm17:02:39

I'm not seeing the raw socket data printed out for cljs

dominicm17:02:20

Tbh, I'm pretty confused. I'm still seeing old builds despite deleting out, I'm not seeing files go into "out2" despite setting it as my output dir in cljs/compiler-options

dominicm17:02:01

I'm also getting invalid token errors during the tests, but I'm certain the code compiles because it tests fine without kaocha

plexus17:02:15

that is confusing... I would start with git clean -nxfd (that's a dry run with -n) to see what's lying around, and then git clean -xfd <specific paths you want to clean out>

plexus17:02:49

for good measure you can also wipe ~/.cljs/.aot_cache

plexus17:02:23

re. :bindings those are Clojure bindings. Are you expecting them in Clojure or in ClojureScript?

plexus17:02:09

make sure to disable output capturing so it's not swallowing some useful info (warnings etc)

plexus17:02:54

--no-capture-output

plexus17:02:22

what does your tests.edn look like? setting arbitrary compiler options often does not work, the cljs repls we rely on are sensitive to what you put in there

plexus17:02:21

there are plans to redo the cljs integration in a much more robust way, but that's a Big Project for which we don't yet have the funding

dominicm19:02:10

I'm trying to set the clojurescript debug bindings. As documented. Can't share the file because bank.

dominicm19:02:21

I'm getting something pretty strange with no output capture about : being an invalid token.

dominicm19:02:44

But ": " doesn't exist outside of comments and strings. This is why I want to see the exact thing being sent by kaocha

dominicm19:02:15

After a clean it seems to work. I wiped it all out. I'm a bit suspicious it might be using something I don't expect as the output.

dominicm20:02:03

By work, I mean :bindings works. Looking at the printed output, I don't see anything that wouldn't correctly be read though.

dominicm20:02:08

okay, well. I just noticed that one terminal is in /t/foo, and the other is /s/foo. So I think I've been running in different directories... No wonder I feel like I'm going insane...

dominicm20:02:04

That's extremely embarrassing 😂

dominicm21:02:51

As promised, my extremely simple solution to the problem of launching chrome: https://github.com/SevereOverfl0w/delegating-repl