cemerick / clojurescript.test

A maximal port of `clojure.test` to ClojureScript. DEPRECATED
165 stars 32 forks source link

non-string value for test-command #72

Closed dagda1 closed 10 years ago

dagda1 commented 10 years ago

I am trying to get clojurescript set up for the first time. here is project.clj configuration.

When I run lein cljsbuild run, I get the following error message:

Invalid :test-command, contains non-string value: [phantomjs :runner this.literal_js_was_evaluated=true target/unit-test.js]

Can anyone point out what I am doing wrong? phantomjs is in my PATH ok and I can run tests from a different project but I don't see the non-string value in this case.

Do I have to use with-profile for the test profile to be used for testing?

dagda1 commented 10 years ago

OK, so this works:

lein with-profile test cljsbuild test

Could anyone explain why I got the original error message?

cemerick commented 10 years ago

The line numbers have changed in your project.clj since you linked it…but I'm guessing you had the cljsbuild (or clojurescript.test) configuration in your test profile.