                 "target/mikron/test_runner/node.cljs")
           (boot-cljs-test/test-cljs :js-env        :node
                                     :namespaces    '[mikron.test.core]
-                                    :optimizations (or opt :none)))))
+                                    :optimizations (or opt :none)
+                                    :cljs-otps     cljs-compiler-opts))))
 
 (deftask test-browser
   "Runs the tests in a browser environment."

  (comp (testing)
        (boot-test/test :namespaces ['mikron.test.core])))

(deftask test-node
  "Runs the tests in a Node.js environment."
  [o opt          VAL kw   "The optimization level for the cljs compiler."

(set-env!
  :resource-paths #{"src/main/cljc" "src/spec/cljc" "src/main/js/foreign"}
  :dependencies   '[[org.clojure/clojure         "1.9.0-alpha17"]
                    [org.clojure/clojurescript   "1.9.671"]

                    [adzerk/boot-test            "1.2.0"  :scope "test"]
                    [adzerk/boot-reload          "0.5.1"  :scope "test"]
