$ lein doo
doo - run cljs.test in any JS environment.
Usage:
lein doo {js-env}
lein doo {js-env} {build-id}
lein doo {js-env} {build-id} {watch-mode}
- js-env: slimer, phantom, node, chrome, firefox, or an alias like headless
- build-id: any of the ids under the :cljsbuild map in your project.clj
- watch-mode: either auto (default) or once
All arguments are optional provided there is a corresponding default
under :doo in the project.clj.
We have our defaults set in our
project.clj
:but
lein doo
doesn't use them:If I'm reading the code right, that's because with no arguments,
doo
always displays the help text, regardless of whether there are default values available.