Add a easier command to run the karma-tests
This commit is contained in:
parent
d20945bcb6
commit
769f9af4bd
@ -137,7 +137,7 @@ b. Running AngularJS test cases
|
|||||||
|
|
||||||
Run client tests by starting karma::
|
Run client tests by starting karma::
|
||||||
|
|
||||||
$ node_modules/.bin/karma start tests/karma/karma.conf.js
|
$ yarn run karma
|
||||||
|
|
||||||
|
|
||||||
OpenSlides in big mode
|
OpenSlides in big mode
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
"name": "openslides",
|
"name": "openslides",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prepublish": "bower install && gulp"
|
"prepublish": "bower install && gulp",
|
||||||
|
"karma": "karma start tests/karma/karma.conf.js"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"angular-mocks": "~1.5.11",
|
"angular-mocks": "~1.5.11",
|
||||||
|
Loading…
Reference in New Issue
Block a user