Merge branch '58869-unified-fe-test-script' into 'master'
Create a unified script to run Jest & Karma tests Closes #58869 See merge request gitlab-org/gitlab-ce!27239
Showing
... | @@ -23,7 +23,7 @@ | ... | @@ -23,7 +23,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": "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-file": "node node_modules/stylelint/bin/stylelint.js", | ||
"stylelint-create-utility-map": "node scripts/frontend/stylelint/stylelint-utility-map.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": "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" | "webpack-prod": "NODE_OPTIONS=\"--max-old-space-size=3584\" NODE_ENV=production webpack --config config/webpack.config.js" | ||
}, | }, | ||
... | ... |
scripts/frontend/test.js
0 → 100755
Please register or sign in to comment