chore: update package.json for testing scripts and dependencies
- Added unit and end-to-end testing scripts to package.json. - Included detox for end-to-end testing and jest-circus for improved test execution. feat: add testID to LandingScreen logo for better testing - Added testID attribute to the logo image in LandingScreen for easier identification in tests. feat: create tokens.ts to re-export design tokens - Introduced tokens.ts to re-export shared design tokens from lightTheme for consistent imports.
This commit is contained in:
@@ -7,7 +7,13 @@
|
||||
"ios": "react-native run-ios",
|
||||
"lint": "eslint .",
|
||||
"start": "react-native start",
|
||||
"test": "jest"
|
||||
"test": "jest",
|
||||
"test:unit": "jest",
|
||||
"test:e2e:build:android": "detox build -c android.emu.debug",
|
||||
"test:e2e:run:android": "detox test -c android.emu.debug",
|
||||
"test:e2e:android": "npm run test:e2e:build:android && npm run test:e2e:run:android",
|
||||
"test:full": "npm run test:unit && npm run test:e2e:android",
|
||||
"test:e2e:auto": "node ./e2e/run-detox.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@react-native-async-storage/async-storage": "^2.2.0",
|
||||
@@ -51,7 +57,9 @@
|
||||
"postinstall-postinstall": "^2.1.0",
|
||||
"prettier": "2.8.8",
|
||||
"react-test-renderer": "19.2.3",
|
||||
"typescript": "^5.8.3"
|
||||
"typescript": "^5.8.3",
|
||||
"detox": "^20.47.0",
|
||||
"jest-circus": "^29.6.3"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 22.11.0"
|
||||
|
||||
Reference in New Issue
Block a user