summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorLukas Eipert <git@leipert.io>2018-04-10 11:54:36 +0200
committerLukas Eipert <git@leipert.io>2018-04-10 11:54:36 +0200
commit267602fe84735f1c8a31ae7ec8e677b71b9098c6 (patch)
tree9e0eeea7bfd5ee3daa2b8f5fdc4c32abd7b2a6ce /package.json
parent1941b442ae82ff4100d0a7fa8725145e1022d7ae (diff)
downloadgitlab-ce-267602fe84735f1c8a31ae7ec8e677b71b9098c6.tar.gz
fix single-run option usage for karma
Diffstat (limited to 'package.json')
-rw-r--r--package.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/package.json b/package.json
index 27f612aca38..763b0345e7c 100644
--- a/package.json
+++ b/package.json
@@ -5,8 +5,8 @@
"eslint": "eslint --max-warnings 0 --ext .js,.vue .",
"eslint-fix": "eslint --max-warnings 0 --ext .js,.vue --fix .",
"eslint-report": "eslint --max-warnings 0 --ext .js,.vue --format html --output-file ./eslint-report.html .",
- "karma": "karma start config/karma.config.js --single-run",
- "karma-coverage": "BABEL_ENV=coverage karma start config/karma.config.js --single-run",
+ "karma": "karma start --single-run true config/karma.config.js",
+ "karma-coverage": "BABEL_ENV=coverage karma start --single-run true config/karma.config.js",
"karma-start": "karma start config/karma.config.js",
"prettier-staged": "node ./scripts/frontend/prettier.js",
"prettier-staged-save": "node ./scripts/frontend/prettier.js save",