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:
parent
ef33cdab04
commit
0a9b0f6bfb
@ -17,7 +17,7 @@
|
|||||||
"build:webpack": "webpack --config webpack.prod.js",
|
"build:webpack": "webpack --config webpack.prod.js",
|
||||||
"build:prerender": "node ./script/__build__/prerender.js",
|
"build:prerender": "node ./script/__build__/prerender.js",
|
||||||
"test": "run-s test:lint 'test:unit --coverage'",
|
"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:lint": "eslint --ignore-path .gitignore .",
|
||||||
"test:watch": "yarn test:unit --watch",
|
"test:watch": "yarn test:unit --watch",
|
||||||
"i18n:scrub": "node ./script/i18n-scrub.js",
|
"i18n:scrub": "node ./script/i18n-scrub.js",
|
||||||
|
Loading…
Reference in New Issue
Block a user