Skip to content

Commit

Permalink
Update dependencies related to tests (#3005)
Browse files Browse the repository at this point in the history
## Description

Updates dependencies necessary to run tests.

## Test plan

Run `yarn test` in the root repository before & after
  • Loading branch information
j-piasecki authored Jul 26, 2024
1 parent 39a8426 commit e23b044
Show file tree
Hide file tree
Showing 3 changed files with 87 additions and 213 deletions.
3 changes: 3 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,8 @@ module.exports = {
"node_modules/?!(react-native-reanimated)",
"node_modules/?!(react-native)"
],
modulePathIgnorePatterns: [
"<rootDir>/lib/"
],
roots: ["<rootDir>/src/"]
};
14 changes: 4 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,21 +68,15 @@
"invariant": "^2.2.4",
"prop-types": "^15.7.2"
},
"jest": {
"preset": "react-native",
"modulePathIgnorePatterns": [
"<rootDir>/lib/"
]
},
"devDependencies": {
"@babel/core": "^7.12.9",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/preset-env": "^7.12.11",
"@babel/preset-typescript": "^7.12.7",
"@babel/runtime": "^7.12.5",
"@react-native/babel-preset": "^0.73.19",
"@testing-library/jest-native": "^4.0.4",
"@testing-library/react-native": "^9.0.0",
"@react-native/babel-preset": "^0.74.85",
"@testing-library/jest-native": "^5.4.3",
"@testing-library/react-native": "^12.5.1",
"@types/hammerjs": "^2.0.38",
"@types/hoist-non-react-statics": "^3.3.1",
"@types/jest": "^27.0.3",
Expand All @@ -109,7 +103,7 @@
"react-native-builder-bob": "^0.17.1",
"react-native-reanimated": "^3.12.0",
"react-native-web": "^0.11.7",
"react-test-renderer": "17.0.2",
"react-test-renderer": "18.2.0",
"release-it": "^13.6.5",
"typescript": "5.0.4"
},
Expand Down
Loading

0 comments on commit e23b044

Please sign in to comment.