Skip to content

Commit eb8bf58

Browse files
Install detox and add its configurations
1 parent 3e96106 commit eb8bf58

File tree

2 files changed

+340
-860
lines changed

2 files changed

+340
-860
lines changed

InstabugSample/package.json

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,16 @@
88
"lint": "eslint ."
99
},
1010
"dependencies": {
11+
"instabug-reactnative": "../",
1112
"react": "16.8.6",
12-
"react-native": "0.60.0",
13-
"instabug-reactnative": "../"
13+
"react-native": "0.60.0"
1414
},
1515
"devDependencies": {
1616
"@babel/core": "^7.5.4",
1717
"@babel/runtime": "^7.5.4",
1818
"@react-native-community/eslint-config": "^0.0.5",
1919
"babel-jest": "^24.8.0",
20+
"detox": "^13.2.0",
2021
"eslint": "^6.0.1",
2122
"jest": "^24.8.0",
2223
"metro-react-native-babel-preset": "^0.55.0",
@@ -27,5 +28,16 @@
2728
"transformIgnorePatterns": [
2829
"node_modules/(?!react-native|react-navigation)/"
2930
]
31+
},
32+
"detox": {
33+
"configurations": {
34+
"ios.sim.debug": {
35+
"binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/InstabugSample.app",
36+
"build": "xcodebuild -workspace ios/InstabugSample.xcworkspace -scheme InstabugSample -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build",
37+
"type": "ios.simulator",
38+
"name": "iPhone X"
39+
}
40+
},
41+
"test-runner": "jest"
3042
}
3143
}

0 commit comments

Comments
 (0)