fix: upgrade jest to remove security vulnerability (#1267)

* fix: upgrade jest to remove security vulnerability

* fix lint
This commit is contained in:
Yangshun Tay 2019-03-07 00:15:59 -08:00 committed by Endilie Yacop Sucipto
parent 48f95219a8
commit 801453fae6
5 changed files with 3452 additions and 2861 deletions

View file

@ -92,7 +92,7 @@
"devDependencies": {
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^8.2.5",
"babel-jest": "^23.6.0",
"babel-jest": "^24.1.0",
"eslint": "^4.19.1",
"eslint-config-airbnb": "17.0.0",
"eslint-config-prettier": "^2.9.0",
@ -103,7 +103,7 @@
"front-matter": "^2.3.0",
"glob-promise": "^3.3.0",
"husky": "^0.14.3",
"jest": "^23.6.0",
"jest": "^24.1.0",
"lint-staged": "^7.2.0",
"rimraf": "^2.6.2"
}

View file

@ -33,8 +33,4 @@ Showcase.propTypes = {
users: PropTypes.array.isRequired,
};
Showcase.defaultProps = {
users: [],
};
module.exports = Showcase;

File diff suppressed because it is too large Load diff

View file

@ -39,7 +39,7 @@
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-react": "^7.11.1",
"eslint-plugin-react-hooks": "^0.0.0",
"jest": "^23.4.2",
"jest": "^24.1.0",
"react": "^16.7.0-alpha.0",
"react-dom": "^16.7.0-alpha.0",
"react-helmet": "^5.2.0"
@ -50,7 +50,7 @@
"@babel/polyfill": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"babel-jest": "^23.6.0",
"babel-jest": "^24.1.0",
"babel-loader": "^8.0.0",
"babel-plugin-dynamic-import-node": "^2.2.0",
"chalk": "^2.4.1",

File diff suppressed because it is too large Load diff