From 88b02af305a1d279827235e13f8c58940eca9fb5 Mon Sep 17 00:00:00 2001 From: Paul Gascou-Vaillancourt Date: Wed, 10 Apr 2019 15:55:11 -0400 Subject: Create a unified script to run Jest & Karma tests - Created scripts/frontend/test.js - Updated test task to call Node script --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package.json') 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" }, -- cgit v1.2.1