summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorPaul Gascou-Vaillancourt <paul.gascvail@gmail.com>2019-04-10 15:55:11 -0400
committerPaul Slaughter <pslaughter@gitlab.com>2019-05-13 09:48:34 -0500
commit88b02af305a1d279827235e13f8c58940eca9fb5 (patch)
tree74687c9b6016b2d80ec4003aa844a19639ac6690 /package.json
parent26ee5c0599936e4f8660aa2f37c01e601098e38e (diff)
downloadgitlab-ce-88b02af305a1d279827235e13f8c58940eca9fb5.tar.gz
Create a unified script to run Jest & Karma tests
- Created scripts/frontend/test.js - Updated test task to call Node script
Diffstat (limited to 'package.json')
-rw-r--r--package.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/package.json b/package.json
index eb557101662..8fa36f9a09b 100644
--- a/package.json
+++ b/package.json
@@ -19,7 +19,7 @@
"stylelint": "node node_modules/stylelint/bin/stylelint.js app/assets/stylesheets/**/*.* ee/app/assets/stylesheets/**/*.* !**/vendors/** --custom-formatter node_modules/stylelint-error-string-formatter",
"stylelint-file": "node node_modules/stylelint/bin/stylelint.js",
"stylelint-create-utility-map": "node scripts/frontend/stylelint/stylelint-utility-map.js",
- "test": "yarn jest && yarn karma",
+ "test": "node scripts/frontend/test",
"webpack": "NODE_OPTIONS=\"--max-old-space-size=3584\" webpack --config config/webpack.config.js",
"webpack-prod": "NODE_OPTIONS=\"--max-old-space-size=3584\" NODE_ENV=production webpack --config config/webpack.config.js"
},