Add a easier command to run the karma-tests

This commit is contained in:
Tobias Hößl 2017-05-31 20:17:58 +02:00
parent d20945bcb6
commit 769f9af4bd
2 changed files with 3 additions and 2 deletions

View File

@ -137,7 +137,7 @@ b. Running AngularJS test cases
Run client tests by starting karma::
$ node_modules/.bin/karma start tests/karma/karma.conf.js
$ yarn run karma
OpenSlides in big mode

View File

@ -2,7 +2,8 @@
"name": "openslides",
"private": true,
"scripts": {
"prepublish": "bower install && gulp"
"prepublish": "bower install && gulp",
"karma": "karma start tests/karma/karma.conf.js"
},
"devDependencies": {
"angular-mocks": "~1.5.11",