Upgrade Jest and babel-jest to match js-sdk
This also magically gets rid of a ton of errors
This commit is contained in:
parent
a8c8406ac4
commit
23eb6cbeb3
2 changed files with 759 additions and 1030 deletions
|
@ -122,7 +122,7 @@
|
|||
"@babel/register": "^7.7.4",
|
||||
"@babel/runtime": "^7.7.6",
|
||||
"babel-eslint": "^10.0.3",
|
||||
"babel-jest": "^23.6.0",
|
||||
"babel-jest": "^24.9.0",
|
||||
"chokidar": "^2.1.2",
|
||||
"concurrently": "^4.0.1",
|
||||
"enzyme": "^3.10.0",
|
||||
|
@ -137,7 +137,7 @@
|
|||
"estree-walker": "^0.5.0",
|
||||
"file-loader": "^3.0.1",
|
||||
"flow-parser": "^0.57.3",
|
||||
"jest": "^23.2.0",
|
||||
"jest": "^24.9.0",
|
||||
"matrix-mock-request": "^1.2.3",
|
||||
"matrix-react-test-utils": "^0.2.2",
|
||||
"react-test-renderer": "^16.9.0",
|
||||
|
@ -155,7 +155,9 @@
|
|||
"webpack-cli": "^3.1.1"
|
||||
},
|
||||
"jest": {
|
||||
"testMatch": ["<rootDir>/test/**/*-test.js"],
|
||||
"testMatch": [
|
||||
"<rootDir>/test/**/*-test.js"
|
||||
],
|
||||
"setupTestFrameworkScriptFile": "<rootDir>/test/setupTests.js",
|
||||
"moduleNameMapper": {
|
||||
"\\.(gif|png|svg|ttf|woff2)$": "<rootDir>/__mocks__/imageMock.js"
|
||||
|
|
Loading…
Reference in a new issue