change npm test to global karma for windows

This commit is contained in:
Mario Zupan
2014-12-06 17:50:08 +01:00
parent 9866b94de1
commit c60e24e795
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -135,7 +135,8 @@ Unit Tests can be run with [Karma][karmaUrl] and written using [Mocha][mochaUrl]
```console ```console
> npm install > npm install
> npm test > npm install -g karma-cli
> npm test
``` ```
+1 -1
View File
@@ -23,7 +23,7 @@
"doc": "doc" "doc": "doc"
}, },
"scripts": { "scripts": {
"test": "./node_modules/karma/bin/karma start" "test": "karma start"
}, },
"author": "", "author": "",
"license": "ISC" "license": "ISC"