Running tests in production environment to remove spurious warnings

This gets rid of the warnings from React due to jsdom not recognizing
SVG elements. Looks like there's a PR against jsdom that might fix this,
so once that's in this change can be reverted
This commit is contained in:
Jeff Avallone 2018-02-18 16:11:25 -05:00
parent ef33cdab04
commit 0a9b0f6bfb
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@
"build:webpack": "webpack --config webpack.prod.js",
"build:prerender": "node ./script/__build__/prerender.js",
"test": "run-s test:lint 'test:unit --coverage'",
"test:unit": "jest",
"test:unit": "cross-env NODE_ENV=production jest",
"test:lint": "eslint --ignore-path .gitignore .",
"test:watch": "yarn test:unit --watch",
"i18n:scrub": "node ./script/i18n-scrub.js",