Просмотр исходного кода

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

Adam Shaw 12 лет назад
Родитель
Сommit
e3c9f185b7
2 измененных файлов с 6 добавлено и 3 удалено
  1. 4 1
      package.json
  2. 2 2
      readme.md

+ 4 - 1
package.json

@@ -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
readme.md

@@ -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: