bensu / doo

doo is a library and lein plugin to run cljs.test on different js environments.
Eclipse Public License 1.0
324 stars 63 forks source link

Fix failing tests #61

Closed danielcompton closed 8 years ago

danielcompton commented 8 years ago

This is a placeholder to fix the failing tests

lein test test.doo.core

lein test :only test.doo.core/integration

FAIL in (integration) (core.clj:101)
We can compile a cljs project
expected: (let [compiler-opts' (merge compiler-opts {})] (cljs/build srcs compiler-opts') (->> [:phantom :chrome :firefox] (mapv (fn [env] (-> env (doo/run-script compiler-opts' doo-opts) doo-ok?))) (every? true?)))
  actual: false

lein test :only test.doo.core/integration

FAIL in (integration) (core.clj:101)
We can compile a cljs project
expected: (let [compiler-opts' (merge compiler-opts {:optimizations :whitespace})] (cljs/build srcs compiler-opts') (->> [:rhino :phantom :chrome :firefox] (mapv (fn [env] (-> env (doo/run-script compiler-opts' doo-opts) doo-ok?))) (every? true?)))
  actual: false

lein test :only test.doo.core/integration

FAIL in (integration) (core.clj:101)
We can compile a cljs project
expected: (let [compiler-opts' (merge compiler-opts {:optimizations :advanced})] (cljs/build srcs compiler-opts') (->> [:phantom :rhino :chrome :firefox] (mapv (fn [env] (-> env (doo/run-script compiler-opts' doo-opts) doo-ok?))) (every? true?)))
  actual: false

Ran 5 tests containing 57 assertions.
3 failures, 0 errors.

Tests failed. cd library && lein test returned exit code 1
bensu commented 8 years ago

I think those tests fail depending on the environment: if I check out master and run them in my machine they pass. Do you mind running them with :verbose true here? They also fail in CircleCI.