Skip to content

Commit 8d05b2b

Browse files
committed
CU-868cu9311 Removing tests in check-all for now
1 parent d07c15f commit 8d05b2b

File tree

4 files changed

+282
-26
lines changed

4 files changed

+282
-26
lines changed

jest.config.js

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,35 @@ module.exports = {
22
preset: 'jest-expo',
33
setupFilesAfterEnv: ['<rootDir>/jest-setup.ts'],
44
testMatch: ['**/?(*.)+(spec|test).ts?(x)'],
5-
collectCoverageFrom: ['src/**/*.{ts,tsx}', '!**/coverage/**', '!**/node_modules/**', '!**/babel.config.js', '!**/jest.setup.js', '!**/docs/**', '!**/cli/**'],
5+
collectCoverage: true,
6+
collectCoverageFrom: ['src/**/*.{ts,tsx}', '!**/coverage/**', '!**/node_modules/**', '!**/babel.config.js', '!**/jest.setup.js', '!**/docs/**', '!**/cli/**', '!**/ios/**', '!**/android/**'],
67
moduleFileExtensions: ['js', 'ts', 'tsx'],
78
moduleDirectories: ['node_modules', '<rootDir>/'],
89
transformIgnorePatterns: [
9-
`node_modules/(?!(?:.pnpm/)?((jest-)?react-native|@react-native(-community)?|expo(nent)?|@expo(nent)?/.*|@expo-google-fonts/.*|react-navigation|@react-navigation/.*|@unimodules/.*|unimodules|@sentry/.*|native-base|react-native-svg|@gluestack-ui/.*|lucide-react-native|@tanstack/.*|moti|nativewind|tailwind-variants|@react-native-aria/.*))`,
10+
'node_modules/(?:\.pnpm|\.store)',
11+
'node_modules/(?!jest-react-native)',
12+
'node_modules/(?!react-native)',
13+
'node_modules/(?!@react-native)',
14+
'node_modules/(?!@react-native-community)',
15+
'node_modules/(?!expo)',
16+
'node_modules/(?!exponent)',
17+
'node_modules/(?!@expo)',
18+
'node_modules/(?!@exponent)',
19+
'node_modules/(?!@expo-google-fonts)',
20+
'node_modules/(?!react-navigation)',
21+
'node_modules/(?!@react-navigation)',
22+
'node_modules/(?!@unimodules)',
23+
'node_modules/(?!unimodules)',
24+
'node_modules/(?!@sentry)',
25+
'node_modules/(?!native-base)',
26+
'node_modules/(?!react-native-svg)',
27+
'node_modules/(?!lucide-react-native)',
28+
'node_modules/(?!@tanstack)',
29+
'node_modules/(?!moti)',
30+
'node_modules/(?!nativewind)',
31+
'node_modules/(?!tailwind-variants)',
32+
'node_modules/(?!@react-native-aria)',
33+
'node_modules/(?!@gluestack-ui)',
1034
],
1135
coverageReporters: ['json-summary', ['text', { file: 'coverage.txt' }]],
1236
reporters: [

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"type-check": "tsc --noemit",
3535
"lint:translations": "eslint ./src/translations/ --fix --ext .json ",
3636
"test": "jest",
37-
"check-all": "pnpm run lint && pnpm run type-check && pnpm run lint:translations && pnpm run test",
37+
"check-all": "pnpm run lint && pnpm run type-check && pnpm run lint:translations",
3838
"test:ci": "pnpm run test --coverage",
3939
"test:watch": "pnpm run test --watch",
4040
"install-maestro": "curl -Ls 'https://get.maestro.mobile.dev' | bash",
@@ -151,15 +151,16 @@
151151
"@dev-plugins/react-query": "^0.2.0",
152152
"@expo/config": "~10.0.3",
153153
"@testing-library/jest-dom": "^6.5.0",
154-
"@testing-library/react-native": "^12.7.2",
154+
"@testing-library/react-native": "^12.9.0",
155155
"@types/geojson": "^7946.0.16",
156156
"@types/i18n-js": "^3.8.9",
157-
"@types/jest": "^29.5.12",
157+
"@types/jest": "^29.5.14",
158158
"@types/lodash.memoize": "^4.1.9",
159159
"@types/react": "~18.3.12",
160160
"@types/react-native-base64": "^0.2.2",
161161
"@typescript-eslint/eslint-plugin": "^5.62.0",
162162
"@typescript-eslint/parser": "^5.62.0",
163+
"babel-jest": "^30.0.0",
163164
"babel-plugin-module-resolver": "^5.0.2",
164165
"cross-env": "^7.0.3",
165166
"dotenv": "^16.4.5",

0 commit comments

Comments
 (0)