lambdaisland / kaocha-cljs

ClojureScript support for Kaocha
Eclipse Public License 1.0
40 stars 10 forks source link

Compatibility with Figwheel REPL, WIP #18

Closed plexus closed 4 years ago

plexus commented 5 years ago

This needs cleaning up, but at least it seems to be working. See https://github.com/lambdaisland/kaocha-demo/blob/figwheel-repl/tests.edn#L8-L14 for an example of how to use it.

This adds a precompilation step (necessary for figwheel-repl, but this will become configurable), and switches the websocket to use goog.net.WebSocket, same as Figwheel itself, plus it borrows Figwheel's host checking to find a suitable WS implementation.

ping @mk @kommen