move karma-related dependencies into the repo. use karma-cli

This commit is contained in:
Adam Shaw
2014-03-22 11:41:39 -07:00
parent cc1ce91780
commit e3c9f185b7
2 changed files with 6 additions and 3 deletions
+4 -1
View File
@@ -15,7 +15,10 @@
"grunt-contrib-clean": "~0.4.0",
"grunt-contrib-jshint": "~0.8.0",
"grunt-jscs-checker": "~0.3.2",
"lumbar": "~2.0.0-beta19"
"lumbar": "~2.0.0-beta19",
"karma": "^0.12.1",
"karma-jasmine": "^0.2.2",
"karma-phantomjs-launcher": "^0.1.2"
},
"scripts": {
"install": "bower install"
+2 -2
View File
@@ -48,9 +48,9 @@ If you want to clean up the generated files, run:
Automated Testing
-----------------
To run automated tests, you must first install [karma] globally, as well as some karma plugins:
To run automated tests, you must first install [karma] command line utility:
npm install -g karma karma-jasmine karma-phantomjs-launcher
npm install -g karma-cli
Then, assuming all your source files have been built (via `grunt dev` or `watch`), you can run the tests from a browser: