Fork me on GitHub
#leiningen
<
2016-11-10
>
pseud08:11:54

@bja: thanks 🙂 Though pouring through the example, it seems the template (reasonably enough) limits itself to considering cljs tests

pseud08:11:34

Hey - managed to get cljs testing going yesterday, surely someone’s using lein and running a few unit tests, anyone have their project.clj to share ?

danielcompton09:11:06

@pseud https://github.com/Day8/re-frame-http-fx is a pretty minimal example demonstrating testing with Karma

pseud09:11:28

danielcompton: I’ve (just this moment) cobbled something together - using doo for cljs tests and clojure.test for the rest. Thanks though 🙂

pseud14:11:58

Why does lein include its project.clj in the jar it builds ?

bja15:11:55

@pseud I think lein test should "just work" out of the box

bja15:11:36

I'm unsure what happens if you put your deftests inside a .cljc file, but I don't see a reason that wouldn't work

rymndhng18:11:29

In leiningen's sample project Line 232, there's an alias that does ["do" "clean" "uberjar"]. I've never found that this works for me. I've always had to wrap the clean inside braces: ["do" ["clean"] "uberjar"]. Is there something obvious I'm missing? https://github.com/technomancy/leiningen/blob/master/sample.project.clj#L232

rymndhng18:11:49

oh, I think I see it -- the clean is missing a comma