Skip to content

Commit a8ca10e

Browse files
chore: remove redundant jest usage
1 parent b224aab commit a8ca10e

File tree

3 files changed

+3
-16
lines changed

3 files changed

+3
-16
lines changed

example/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
"@types/node": "^22.9.0",
4040
"babel-plugin-module-resolver": "^5.0.0",
4141
"detox": "^20.27.6",
42+
"jest": "^29.7.0",
4243
"ts-jest": "^29.2.5"
4344
},
4445
"engines": {

package.json

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@
5050
},
5151
"scripts": {
5252
"example": "yarn workspace react-native-navigation-sdk-sample",
53-
"test": "jest --passWithNoTests",
5453
"test:types": "tsc --noEmit",
5554
"lint": "eslint \"**/*.{js,ts,tsx}\"",
5655
"clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib",
@@ -63,7 +62,6 @@
6362
"@evilmartians/lefthook": "^1.5.0",
6463
"@react-native/eslint-config": "^0.74.83",
6564
"@testing-library/react-native": "^12.5.0",
66-
"@types/jest": "^29.5.5",
6765
"@types/react": "18.2.6",
6866
"commitlint": "^19.3.0",
6967
"del-cli": "^5.1.0",
@@ -72,7 +70,6 @@
7270
"eslint-config-prettier": "^9.0.0",
7371
"eslint-plugin-prettier": "^5.2.1",
7472
"eslint-plugin-testing-library": "^6.2.2",
75-
"jest": "^29.7.0",
7673
"prettier": "^3.3.3",
7774
"react": "18.2.0",
7875
"react-native": "0.74.1",
@@ -89,16 +86,6 @@
8986
"example"
9087
],
9188
"packageManager": "[email protected]",
92-
"jest": {
93-
"preset": "react-native",
94-
"modulePathIgnorePatterns": [
95-
"<rootDir>/example/node_modules",
96-
"<rootDir>/lib/"
97-
],
98-
"moduleNameMapper": {
99-
"^react-native$": "<rootDir>/node_modules/react-native"
100-
}
101-
},
10289
"commitlint": {
10390
"extends": [
10491
"@commitlint/config-conventional"

yarn.lock

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3135,7 +3135,6 @@ __metadata:
31353135
"@evilmartians/lefthook": ^1.5.0
31363136
"@react-native/eslint-config": ^0.74.83
31373137
"@testing-library/react-native": ^12.5.0
3138-
"@types/jest": ^29.5.5
31393138
"@types/react": 18.2.6
31403139
commitlint: ^19.3.0
31413140
del-cli: ^5.1.0
@@ -3144,7 +3143,6 @@ __metadata:
31443143
eslint-config-prettier: ^9.0.0
31453144
eslint-plugin-prettier: ^5.2.1
31463145
eslint-plugin-testing-library: ^6.2.2
3147-
jest: ^29.7.0
31483146
prettier: ^3.3.3
31493147
react: 18.2.0
31503148
react-native: 0.74.1
@@ -4655,7 +4653,7 @@ __metadata:
46554653
languageName: node
46564654
linkType: hard
46574655

4658-
"@types/jest@npm:^29.5.14, @types/jest@npm:^29.5.5":
4656+
"@types/jest@npm:^29.5.14":
46594657
version: 29.5.14
46604658
resolution: "@types/jest@npm:29.5.14"
46614659
dependencies:
@@ -12134,6 +12132,7 @@ __metadata:
1213412132
"@types/node": ^22.9.0
1213512133
babel-plugin-module-resolver: ^5.0.0
1213612134
detox: ^20.27.6
12135+
jest: ^29.7.0
1213712136
react: 18.3.1
1213812137
react-native: 0.76.2
1213912138
react-native-gesture-handler: ^2.21.0

0 commit comments

Comments
 (0)