Browse Source

Bound karma execution to `npm run test`

This is in anticipation of moving this project to using
the javascript-jobs group, rather than explicitly declaring jobs.

Change-Id: I2f77f92745849f742290a3877fe78cc2e39b13b9
changes/63/192363/1
Michael Krotscheck 4 years ago
parent
commit
bc207adde8
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      package.json

+ 3
- 1
package.json View File

@@ -25,6 +25,7 @@
25 25
     "jasmine-core": "^2.2.0",
26 26
     "karma": "^0.12.31",
27 27
     "karma-chrome-launcher": "^0.1.7",
28
+    "karma-cli": "0.0.4",
28 29
     "karma-jasmine": "^0.3.5",
29 30
     "karma-phantomjs-launcher": "^0.1.4",
30 31
     "karma-ng-html2js-preprocessor": "~0.1"
@@ -35,6 +36,7 @@
35 36
   },
36 37
   "scripts": {
37 38
     "postinstall": "bower install",
38
-    "test-unit": "grunt test:unit"
39
+    "test-unit": "grunt test:unit",
40
+    "test": "karma start ./karma-unit.conf.js"
39 41
   }
40 42
 }

Loading…
Cancel
Save