Skip to content

Commit

Permalink
move kaocha to dev deps
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreaCrotti committed Dec 9, 2020
1 parent 1705f36 commit f7238e7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 21 deletions.
24 changes: 8 additions & 16 deletions project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@

:plugins [[lein-environ "1.1.0"]
[migratus-lein "0.5.0"]
[lein-doo "0.1.6"]
[lein-cljsbuild "1.1.4"]
[jonase/eastwood "0.3.3"]
[lein-ring "0.9.7"]
Expand All @@ -102,20 +101,15 @@
:aliases {"fig" ["trampoline" "run" "-m" "figwheel.main"]
"fig:build" ["trampoline" "run" "-m" "figwheel.main" "-b" "dev"]
"cljs-prod" ["run" "-m" "figwheel.main" "--build-once" "prod"]
"test-cljs" ["doo" "rhino" "test" "once"]
"kaocha" ["with-profile" "+kaocha" "run" "-m" "kaocha.runner"]
"kaocha" ["run" "-m" "kaocha.runner"]
"seed" ["run" "-m" "byf.seed"]}

:cljfmt {:indents {for-all [[:block 1]]
fdef [[:block 1]]
checking [[:inner 0]]}}

:profiles
{:kaocha {:dependencies [[lambdaisland/kaocha "1.0.700"]
[lambdaisland/kaocha-cloverage "1.0.75"]
[lambdaisland/kaocha-junit-xml "0.0.76"]
[lambdaisland/kaocha-cljs "0.0-71"]]}
:uberjar {:hooks []
{:uberjar {:hooks []
:source-paths ["src/clj" "src/cljc"]
:prep-tasks [["compile"]
["cljsbuild" "once" "min"]]
Expand All @@ -135,7 +129,11 @@

:env {:environment :dev}

:dependencies [[binaryage/devtools "0.9.10"]
:dependencies [[lambdaisland/kaocha "1.0.700"]
[lambdaisland/kaocha-cloverage "1.0.75"]
[lambdaisland/kaocha-junit-xml "0.0.76"]
[lambdaisland/kaocha-cljs "0.0-71"]
[binaryage/devtools "0.9.10"]
[cider/piggieback "0.4.1"]
[org.mozilla/rhino "1.7.11"]
[day8.re-frame/re-frame-10x "0.4.3"]
Expand All @@ -144,13 +142,7 @@
[ring/ring-mock "0.4.0"]]}}
:cljsbuild
{:builds
[{:id "test"
:source-paths ["src/cljs" "src/cljc" "test/cljs" "test/cljc"]
:compiler {:output-to "target/unit-test.js"
:main 'byf.runner
:optimizations :whitespace}}

{:id "min"
[{:id "min"
:source-paths ["src/cljs" "src/cljc"]
:compiler {:main byf.core
:output-to "resources/public/cljs-out/dev-main.js"
Expand Down
10 changes: 5 additions & 5 deletions tests.edn
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
#kaocha/v1
{:capture-output? false
:color? true
:tests [[:id :clj
:tests [{:id :clj
:type :kaocha.type/clojure.test
:test-paths ["test/cljc" "test/clj"]]
:test-paths ["test/cljc" "test/clj"]}

{:id :cljs
:type :kaocha.type/cljs
:launch-browser false
:launch-command ["google-chrome-stable" "http://localhost:9000"]
;; :launch-browser false
:launch-command ["google-chrome-stable" "http://localhost:3335"]
:test-paths ["test/cljs" "test/cljc"]
;; :cljs/timeout 10000 ; 10 seconds, the default
;; :cljs/repl-env cljs.repl.node/repl-env ; node is the default
:cljs/repl-env cljs.repl.browser/repl-env
:cljs/repl-env figwheel.repl/repl-env
}]}

0 comments on commit f7238e7

Please sign in to comment.