summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWinnie Hellmann <winnie@gitlab.com>2019-03-19 11:18:06 +0100
committerWinnie Hellmann <winnie@gitlab.com>2019-03-19 11:29:51 +0100
commit79fd1b7efd08875cf7df175fc3aa646190e1023f (patch)
tree03a9df345024fb9943fd9a4b3c16dbb83b6dabab
parente13f2ff6368d15b99715a33ed7f4a9254d784d48 (diff)
downloadgitlab-ce-79fd1b7efd08875cf7df175fc3aa646190e1023f.tar.gz
Introduce yarn test to run Jest and Karma
-rw-r--r--package.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/package.json b/package.json
index 7d14ccc5a5e..714d472cf99 100644
--- a/package.json
+++ b/package.json
@@ -17,6 +17,7 @@
"prettier-all": "node ./scripts/frontend/prettier.js check-all",
"prettier-all-save": "node ./scripts/frontend/prettier.js save-all",
"stylelint": "node node_modules/stylelint/bin/stylelint.js app/assets/stylesheets/**/*.* --custom-formatter node_modules/stylelint-error-string-formatter",
+ "test": "yarn jest && yarn karma",
"webpack": "webpack --config config/webpack.config.js",
"webpack-prod": "NODE_ENV=production webpack --config config/webpack.config.js"
},