Introducing detox
This commit is contained in:
@@ -54,6 +54,7 @@
|
||||
"babel-eslint": "^10.0.1",
|
||||
"basic-changelog": "gitlab:bloodyhealth/basic-changelog",
|
||||
"chai": "^4.1.2",
|
||||
"detox": "^13.1.1",
|
||||
"dirty-chai": "^2.0.1",
|
||||
"eslint": "^5.16.0",
|
||||
"eslint-plugin-react": "^7.8.2",
|
||||
@@ -88,5 +89,22 @@
|
||||
"assets": [
|
||||
"assets/fonts"
|
||||
]
|
||||
},
|
||||
"detox": {
|
||||
"configurations": {
|
||||
"android.emu.debug": {
|
||||
"binaryPath": "android/app/build/outputs/apk/debug/app-debug.apk",
|
||||
"build": "cd android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug && cd ..",
|
||||
"type": "android.emulator",
|
||||
"name": "Nexus_5X_API_28"
|
||||
},
|
||||
"android.emu.release": {
|
||||
"binaryPath": "android/app/build/outputs/apk/release/app-release.apk",
|
||||
"build": "cd android && ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release && cd ..",
|
||||
"type": "android.emulator",
|
||||
"name": "Nexus_5X_API_26"
|
||||
}
|
||||
},
|
||||
"test-runner": "mocha"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user