Merge pull request #3276 from CatoTH/Yarn-Test-Runner-Shortcut

Add a easier command to run the karma-tests
This commit is contained in:
Norman Jäckel 2017-05-31 22:09:46 +02:00 committed by GitHub
commit 364c3e59a9
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",