Add a karma:watch command

This commit is contained in:
Tobias Hößl 2017-10-29 10:52:57 +01:00 committed by Emanuel Schütze
parent c40ae6e9d1
commit a2b8f84c73
3 changed files with 6 additions and 1 deletions

View File

@ -47,6 +47,7 @@ Motions:
- Show motion identifier in (current) list of speakers [#3442] - Show motion identifier in (current) list of speakers [#3442]
- Added navigation between single motions [#3459]. - Added navigation between single motions [#3459].
- Improved the multiselect state filter [#3459]. - Improved the multiselect state filter [#3459].
- Added karma:watch command [#3466].
Elections: Elections:
- Added pagination for list view [#3393]. - Added pagination for list view [#3393].

View File

@ -139,6 +139,9 @@ Run client tests by starting karma::
$ yarn run karma $ yarn run karma
Watch for file changes and run the tests automatically after each change::
$ yarn run karma:watch
OpenSlides in big mode OpenSlides in big mode
====================== ======================

View File

@ -3,7 +3,8 @@
"private": true, "private": true,
"scripts": { "scripts": {
"prepublish": "bower install && gulp", "prepublish": "bower install && gulp",
"karma": "karma start tests/karma/karma.conf.js" "karma": "karma start tests/karma/karma.conf.js",
"karma:watch": "karma start tests/karma/karma.conf.js --single-run=false"
}, },
"devDependencies": { "devDependencies": {
"angular-mocks": "~1.5.11", "angular-mocks": "~1.5.11",