Given this in my profiles section:

:test {:dependencies [[ring-mock "0.1.5"]
                                   [org.clojars.runa/conjure "2.1.3"]]
                    :cljsbuild
                    {:builds
                     {:client
                      {:source-paths ^:replace ["src/cljs" "test/cljs"]
                       :compiler {:preamble ^:replace 
["jquery/jquery-2.1.1.min.js" "reagent/react.js"]}}}
                     :test-commands {"testing" ["phantomjs"
                                                :runner "resources/polyfill.js" 
"resources/public/js/main.js"]}}}

any idea why

> lein test

ends with

Could not locate test command .

while

> lein with-profile test test

succeeds with

Ran 22 tests containing 408 assertions.
0 failures, 0 errors.
Running ClojureScript test: testing

Testing outlines.test

Testing common.test

Ran 4 tests containing 4 assertions.
Testing complete: 0 failures, 0 errors.

Ran 4 tests containing 4 assertions.
Testing complete: 0 failures, 0 errors.

I thought the 'test' profile was activated when the lein 'test' task was run?

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to