Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Upgrade Jest and babel-jest to match js-sdk
Browse files Browse the repository at this point in the history
This also magically gets rid of a ton of errors
  • Loading branch information
turt2live committed Jan 9, 2020
1 parent a8c8406 commit 23eb6cb
Show file tree
Hide file tree
Showing 2 changed files with 775 additions and 1,046 deletions.
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand All @@ -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"
Expand Down
Loading

0 comments on commit 23eb6cb

Please sign in to comment.