Adds detox testing and instructions (#147)

* Adds detox testing and instructions

* lint

* lint
This commit is contained in:
Aryan Goharzad
2023-02-03 14:00:04 -05:00
committed by GitHub
parent 2d1e38be72
commit eb1568e0fd
9 changed files with 531 additions and 26 deletions
+6 -2
View File
@@ -12,7 +12,8 @@
"test-watch": "jest --watchAll",
"test-ci": "jest --ci --forceExit --reporters=default --reporters=jest-junit",
"test-coverage": "jest --coverage",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx"
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"e2e": "detox test --configuration ios.sim.debug --take-screenshots all"
},
"dependencies": {
"@atproto/api": "^0.0.8",
@@ -93,7 +94,9 @@
"@typescript-eslint/parser": "^5.48.2",
"babel-jest": "^29.2.1",
"babel-plugin-react-native-web": "^0.17.7",
"detox": "^20.1.2",
"eslint": "^8.19.0",
"eslint-plugin-detox": "^1.0.0",
"eslint-plugin-ft-flow": "^2.0.3",
"jest": "^29.2.1",
"jest-junit": "^15.0.0",
@@ -128,7 +131,8 @@
"node_modules/(?!(jest-)?react-native|react-clone-referenced-element|@react-native-community|rollbar-react-native|@fortawesome|@react-native|@react-navigation)"
],
"modulePathIgnorePatterns": [
"__tests__/.*/__mocks__"
"__tests__/.*/__mocks__",
"e2e/.*"
],
"coveragePathIgnorePatterns": [
"<rootDir>/node_modules/",