ghostwheel

Hassle-free clojure.spec, automatic generative testing, side effect detection, and evaluation tracing for Clojure(-Script) – https://github.com/gnl/ghostwheel
beders 2020-04-15T06:59:11.002400Z

hey there, I'm having trouble enabling ghostwheel on node.js I'm using shadow-cljs to build and I have added this to the config:

:compiler-options {:external-config {:ghostwheel {}}}
I also have ghostwheel.edn that looks like this:
{:instrument true :check true :trace 4}
I can see traces being spit out, but I don't see ghostwheel complaining about failing input specs: I.e. this will run fine:
(>defn plus [a b]
  [int? int? => int?]
  (+ a b)
  )
(plus [] 3)

beders 2020-04-15T06:59:26.002900Z

not sure what I'm doing wrong or how I could troubleshoot this

beders 2020-04-15T06:59:33.003200Z

the REPL is connected to a running node instance

beders 2020-04-15T07:00:02.003800Z

via shadow-cljs

beders 2020-04-15T07:00:08.004Z

any ideas?

beders 2020-04-15T07:04:32.004500Z

never mind, got it working. Options were not picked up from ghostwheel.edn

beders 2020-04-15T07:04:40.004800Z

I added them to the shadow-cjls map

beders 2020-04-15T07:04:42.005Z

yay!