Skip to content

Instantly share code, notes, and snippets.

@jeaye
Created September 22, 2020 19:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeaye/48c41d05220135b9cb580d2561e8e1af to your computer and use it in GitHub Desktop.
Save jeaye/48c41d05220135b9cb580d2561e8e1af to your computer and use it in GitHub Desktop.
(ns ^:refresh com.okletsplay.front-end.test.unit.navigation.tmp
(:require [cljs.test :refer-macros [deftest is]]))
(deftest tmp
(is false))
#kaocha/v1
{:tests [{:id :unit
:type :kaocha.type/cljs
:cljs/timeout 20000 ; 20 seconds
:source-paths ["src/cljs/app/" "src/cljs/shared/"
"lib/common/src/" "lib/client-api/src/"
"src/cljs/profile/test/shared/"
"src/cljs/profile/test/app/"
"test/shared/"]
:test-paths ["test/unit/"]
:ns-patterns [".*"]
:focus-meta [:refresh]}]
:bindings {kaocha.type.cljs/*debug* true}
:randomize? false}
$ lein with-profile unit-test run -m kaocha.runner unit
Warning: implicit hook found: lein-environ.plugin/hooks
Hooks are deprecated and will be removed in a future version.
Warning: implicit hook found: leiningen.cljsbuild/activate
Hooks are deprecated and will be removed in a future version.
Compiling ClojureScript...
WARNING: Use of undeclared Var fipp.edn/*file* at line 111 file:/home/jeaye/.m2/repository/fipp/fipp/0.6.17/fipp-0.6.17.jar!/fipp/edn.cljc
WARNING: Use of undeclared Var goog.structs/Map at line 2683 file:/home/jeaye/.m2/repository/com/taoensso/encore/2.91.0/encore-2.91.0.jar!/taoensso/encore.cljs
WARNING: Use of undeclared Var goog.structs/Map at line 2683 file:/home/jeaye/.m2/repository/com/taoensso/encore/2.91.0/encore-2.91.0.jar!/taoensso/encore.cljs
WARNING: Namespace com.okletsplay.common.transit.run-time-config.public contains a reserved JavaScript keyword, the corresponding Google Closure namespace will be munged to com.okletsplay.common.transit.run_time_config.public$ at line 1 /home/jeaye/projects/okletsplay/front-end/lib/common/src/com/okletsplay/common/transit/run_time_config/public.cljc
[(F)]
FAIL in cljs:com.okletsplay.front-end.test.unit.navigation.tmp/tmp (cljs/test.cljs:476)
Expected:
false
Actual:
false
╭───── Test output ───────────────────────────────────────────────────────
│ EVAL: (do (kaocha.cljs.run/run-test com.okletsplay.front-end.test.unit.navigation.tmp/tmp) :com.okletsplay.front-end.test.unit.navigation.tmp/tmp-done40752)
│ :cljs.test/message -> {:type :cljs.test/message, :cljs.test/message {:type :begin-test-var, :var {:ns com.okletsplay.front-end.test.unit.navigation.tmp, :name tmp, :file "test/unit/com/okletsplay/front_end/test/unit/navigation/tmp.cljs", :end-column 13, :column 1, :line 4, :end-line 4, :arglists (), :doc nil, :test #object[com.cognitect.transit.impl.TaggedValueImpl 0x48066197 "com.cognitect.transit.impl.TaggedValueImpl@1f857ad"]}}, :cljs.test/testing-contexts ()}
│ :cljs.test/message -> {:type :cljs.test/message, :cljs.test/message {:file "cljs/test.cljs", :line 476, :column 9, :type :fail, :expected false, :actual false, :message nil, :kaocha.report/printed-expression "Expected:\n false\nActual:\n false\n"}, :cljs.test/testing-contexts ()}
│ :cljs/out -> {:val "[kaocha.cljs.websocket-client] {:websocket/send {:type :cljs.test/message, :cljs.test/message {:type :begin-test-var, :var #'com.okletsplay.front-end.test.unit.navigation.tmp/tmp}, :cljs.test/testing-contexts ()}, :line 71}\n", :type :cljs/out}
│ [kaocha.cljs.websocket-client] {:websocket/send {:type :cljs.test/message, :cljs.test/message {:type :begin-test-var, :var #'com.okletsplay.front-end.test.unit.navigation.tmp/tmp}, :cljs.test/testing-contexts ()}, :line 71}
│ :cljs/out -> {:val "[kaocha.cljs.websocket-client] {:websocket/send {:type :cljs.test/message, :cljs.test/message {:file \"cljs/test.cljs\", :line 476, :column 9, :type :fail, :expected false, :actual false, :message nil, :kaocha.report/printed-expression \"Expected:\\n false\\nActual:\\n false\\n\"}, :cljs.test/testing-contexts ()}, :line 71}\n", :type :cljs/out}
│ [kaocha.cljs.websocket-client] {:websocket/send {:type :cljs.test/message, :cljs.test/message {:file "cljs/test.cljs", :line 476, :column 9, :type :fail, :expected false, :actual false, :message nil, :kaocha.report/printed-expression "Expected:\n false\nActual:\n false\n"}, :cljs.test/testing-contexts ()}, :line 71}
│ :cljs/out -> {:val "[kaocha.cljs.websocket-client] {:websocket/send {:type :cljs.test/message, :cljs.test/message {:type :end-test-var, :var #'com.okletsplay.front-end.test.unit.navigation.tmp/tmp}, :cljs.test/testing-contexts ()}, :line 71}\n", :type :cljs/out}
│ [kaocha.cljs.websocket-client] {:websocket/send {:type :cljs.test/message, :cljs.test/message {:type :end-test-var, :var #'com.okletsplay.front-end.test.unit.navigation.tmp/tmp}, :cljs.test/testing-contexts ()}, :line 71}
│ :cljs.test/message -> {:type :cljs.test/message, :cljs.test/message {:type :end-test-var, :var {:ns com.okletsplay.front-end.test.unit.navigation.tmp, :name tmp, :file "test/unit/com/okletsplay/front_end/test/unit/navigation/tmp.cljs", :end-column 13, :column 1, :line 4, :end-line 4, :arglists (), :doc nil, :test #object[com.cognitect.transit.impl.TaggedValueImpl 0x342593f7 "com.cognitect.transit.impl.TaggedValueImpl@1f857ad"]}}, :cljs.test/testing-contexts ()}
│ :cljs/out -> {:val "[kaocha.cljs.websocket-client] {:websocket/send {:type :kaocha.cljs.run/test-finished, :test com.okletsplay.front-end.test.unit.navigation.tmp/tmp}, :line 71}\n", :type :cljs/out}
│ [kaocha.cljs.websocket-client] {:websocket/send {:type :kaocha.cljs.run/test-finished, :test com.okletsplay.front-end.test.unit.navigation.tmp/tmp}, :line 71}
│ :kaocha.cljs.run/test-finished -> {:type :kaocha.cljs.run/test-finished, :test com.okletsplay.front-end.test.unit.navigation.tmp/tmp}
│ :cljs/ret -> {:val ":com.okletsplay.front-end.test.unit.navigation.tmp/tmp-done40752", :ns "cljs.user", :ms 57, :form "(do (kaocha.cljs.run/run-test com.okletsplay.front-end.test.unit.navigation.tmp/tmp) :com.okletsplay.front-end.test.unit.navigation.tmp/tmp-done40752)", :type :cljs/ret}
╰─────────────────────────────────────────────────────────────────────────
1 tests, 1 assertions, 1 failures.
Error encountered performing task 'run' with profile(s): 'unit-test'
Suppressed exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment