Upgrade Jest and babel-jest to match js-sdk

This also magically gets rid of a ton of errors
This commit is contained in:
Travis Ralston 2020-01-09 16:17:27 -07:00
parent a8c8406ac4
commit 23eb6cbeb3
2 changed files with 759 additions and 1030 deletions

View file

@ -122,7 +122,7 @@
"@babel/register": "^7.7.4", "@babel/register": "^7.7.4",
"@babel/runtime": "^7.7.6", "@babel/runtime": "^7.7.6",
"babel-eslint": "^10.0.3", "babel-eslint": "^10.0.3",
"babel-jest": "^23.6.0", "babel-jest": "^24.9.0",
"chokidar": "^2.1.2", "chokidar": "^2.1.2",
"concurrently": "^4.0.1", "concurrently": "^4.0.1",
"enzyme": "^3.10.0", "enzyme": "^3.10.0",
@ -137,7 +137,7 @@
"estree-walker": "^0.5.0", "estree-walker": "^0.5.0",
"file-loader": "^3.0.1", "file-loader": "^3.0.1",
"flow-parser": "^0.57.3", "flow-parser": "^0.57.3",
"jest": "^23.2.0", "jest": "^24.9.0",
"matrix-mock-request": "^1.2.3", "matrix-mock-request": "^1.2.3",
"matrix-react-test-utils": "^0.2.2", "matrix-react-test-utils": "^0.2.2",
"react-test-renderer": "^16.9.0", "react-test-renderer": "^16.9.0",
@ -155,7 +155,9 @@
"webpack-cli": "^3.1.1" "webpack-cli": "^3.1.1"
}, },
"jest": { "jest": {
"testMatch": ["<rootDir>/test/**/*-test.js"], "testMatch": [
"<rootDir>/test/**/*-test.js"
],
"setupTestFrameworkScriptFile": "<rootDir>/test/setupTests.js", "setupTestFrameworkScriptFile": "<rootDir>/test/setupTests.js",
"moduleNameMapper": { "moduleNameMapper": {
"\\.(gif|png|svg|ttf|woff2)$": "<rootDir>/__mocks__/imageMock.js" "\\.(gif|png|svg|ttf|woff2)$": "<rootDir>/__mocks__/imageMock.js"

1781
yarn.lock

File diff suppressed because it is too large Load diff