diff --git a/DEVELOPMENT.rst b/DEVELOPMENT.rst index 163b9c99d..04eab3965 100644 --- a/DEVELOPMENT.rst +++ b/DEVELOPMENT.rst @@ -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 diff --git a/package.json b/package.json index 1ea656c20..928ce0f43 100644 --- a/package.json +++ b/package.json @@ -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",