test scripts
This commit is contained in:
parent
4010b52c3c
commit
76fad38cb1
|
@ -151,7 +151,6 @@ android {
|
|||
missingDimensionStrategy "RNNotifications.reactNativeVersion", "reactNative60" // See note below!
|
||||
}
|
||||
resValue "string", "rn_config_reader_custom_package", "chat.rocket.reactnative"
|
||||
testBuildType System.getProperty('testBuildType', 'release') // This will later be used to control the test apk build type
|
||||
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
|
||||
}
|
||||
|
||||
|
@ -235,8 +234,6 @@ android {
|
|||
}
|
||||
}
|
||||
|
||||
testBuildType "release"
|
||||
|
||||
applicationVariants.all { variant ->
|
||||
variant.outputs.each { output ->
|
||||
// For each separate APK per architecture, set a unique version code as described here:
|
||||
|
@ -263,8 +260,6 @@ android {
|
|||
}
|
||||
}
|
||||
|
||||
testBuildType "debug"
|
||||
|
||||
dependencies {
|
||||
addUnimodulesDependencies()
|
||||
implementation project(':watermelondb')
|
||||
|
|
|
@ -16,7 +16,9 @@
|
|||
"precommit": "eslint . && jest",
|
||||
"generate-source-maps-ios": "react-native bundle --platform ios --dev false --entry-file index.js --bundle-output ios-release.bundle --sourcemap-output ios-release.bundle.map",
|
||||
"generate-source-maps-android": "bugsnag-sourcemaps",
|
||||
"postinstall": "patch-package && jetify"
|
||||
"postinstall": "patch-package && jetify",
|
||||
"detoxAD": "cd android && ./gradlew assembleExperimentalPlayDebugAndroidTest && cd .. && detox test -c android.experimental.play.emu.debug",
|
||||
"detoxAR": "cd android && ./gradlew assembleExperimentalPlayReleaseAndroidTest && cd .. && detox test -c android.experimental.play.emu.release"
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
|
|
Loading…
Reference in New Issue