Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doo not found in chrome #58

Open
laurentsenta opened this issue Apr 7, 2017 · 0 comments
Open

doo not found in chrome #58

laurentsenta opened this issue Apr 7, 2017 · 0 comments

Comments

@laurentsenta
Copy link

laurentsenta commented Apr 7, 2017

Hi, thanks for sharing your lib. I got a few problems that prevents me from using it,
when I use chrome, I get a doo not found in chrome, and a lot of warnings for empty pattern matching:

Using [crisptrutski/boot-cljs-test "0.3.0"]

(deftask tests []
  (comp
    (in-env :env :dev)
    (watch)
    (speak)
    (test-cljs :js-env :chrome)
    (build)))

(deftask build []
  (comp (speak)
        (cljs)
        (sass)))
› boot tests                                                               ☹
cli: option resources: flags should not have optargs, got RESOURCES
Adding: ([doo "0.1.7"]) to :dependencies

Starting file watcher (CTRL-C to quit)...

Compiling ClojureScript...
• cljs_test/generated_test_suite.js
WARNING: boolean? already refers to: #'clojure.core/boolean? in namespace: clojure.tools.analyzer.utils, being replaced by: #'clojure.tools.analyzer.utils/boolean?
WARNING: boolean? already refers to: #'clojure.core/boolean? in namespace: clojure.tools.analyzer, being replaced by: #'clojure.tools.analyzer.utils/boolean?
WARNING: -dissoc already refers to: cljs.core/-dissoc being replaced by: konserve.protocols/-dissoc at line 3 /Users/laurent/.boot/cache/tmp/Users/laurent/dev/eva/eva-frontend/qv6/l66cqp/cljs_test/generated_test_suite.out/konserve/protocols.cljc

;; ======================================================================
;; Testing with Chrome:

[doo] Started karma server
[doo] Started karma run
Writing main.cljs.edn...
Compiling ClojureScript...
• main.js
07 04 2017 11:25:11.576:WARN [watcher]: Pattern "/Users/laurent/.boot/cache/tmp/Users/laurent/dev/proj/proj-frontend/qv6/-ueasqk/cljs_test/generated_test_suite.out/goog/base.js" does not match any file.
07 04 2017 11:25:11.580:WARN [watcher]: Pattern "/Users/laurent/.boot/cache/tmp/Users/laurent/dev/proj/proj-frontend/qv6/-ueasqk/cljs_test/generated_test_suite.out/cljs_deps.js" does not match any file.
07 04 2017 11:25:11.581:WARN [watcher]: Pattern "/Users/laurent/.boot/cache/tmp/Users/laurent/dev/proj/proj-frontend/qv6/-ueasqk/cljs_test/generated_test_suite.js" does not match any file.
07 04 2017 11:25:11.619:WARN [watcher]: Pattern "/Users/laurent/.boot/cache/tmp/Users/laurent/dev/proj/proj-frontend/qv6/-ueasqk/cljs_test/generated_test_suite.out/**" does not match any file.
07 04 2017 11:25:11.634:WARN [watcher]: Pattern "/Users/laurent/.boot/cache/tmp/Users/laurent/dev/proj/proj-frontend/qv6/-ueasqk/cljs_test/generated_test_suite.out/**/*.js" does not match any file.
07 04 2017 11:25:11.635:WARN [watcher]: Pattern "/Users/laurent/.boot/cache/tmp/Users/laurent/dev/proj/proj-frontend/qv6/-ueasqk/cljs_test/generated_test_suite.out/*.js" does not match any file.
07 04 2017 11:25:13.330:WARN [watcher]: Pattern "/Users/laurent/.boot/cache/tmp/Users/laurent/dev/proj/proj-frontend/qv6/-ueasqk/cljs_test/generated_test_suite.out/goog/base.js" does not match any file.
07 04 2017 11:25:13.337:WARN [watcher]: Pattern "/Users/laurent/.boot/cache/tmp/Users/laurent/dev/proj/proj-frontend/qv6/-ueasqk/cljs_test/generated_test_suite.out/cljs_deps.js" does not match any file.
07 04 2017 11:25:13.339:WARN [watcher]: Pattern "/Users/laurent/.boot/cache/tmp/Users/laurent/dev/proj/proj-frontend/qv6/-ueasqk/cljs_test/generated_test_suite.js" does not match any file.
07 04 2017 11:25:13.367:WARN [watcher]: Pattern "/Users/laurent/.boot/cache/tmp/Users/laurent/dev/proj/proj-frontend/qv6/-ueasqk/cljs_test/generated_test_suite.out/**" does not match any file.
07 04 2017 11:25:13.379:WARN [watcher]: Pattern "/Users/laurent/.boot/cache/tmp/Users/laurent/dev/proj/proj-frontend/qv6/-ueasqk/cljs_test/generated_test_suite.out/**/*.js" does not match any file.
07 04 2017 11:25:13.379:WARN [watcher]: Pattern "/Users/laurent/.boot/cache/tmp/Users/laurent/dev/proj/proj-frontend/qv6/-ueasqk/cljs_test/generated_test_suite.out/*.js" does not match any file.
Chrome 57.0.2987 (Mac OS X 10.12.4) ERROR
  Uncaught ReferenceError: doo is not defined
  at http://localhost:9876/context.html:1

I installed karm, karma-cljs-test and chromedriver, am I missing something?
Thanks for taking a look,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant