Simplify yarn scripts
This commit is contained in:
parent
2c5599cb05
commit
3a2a73f7fe
12
.detoxrc.js
12
.detoxrc.js
|
@ -5,8 +5,13 @@ module.exports = {
|
|||
$0: 'jest',
|
||||
config: 'e2e/jest.config.js'
|
||||
},
|
||||
jest: {
|
||||
setupTimeout: 120000
|
||||
retries: 3
|
||||
},
|
||||
artifacts: {
|
||||
plugins: {
|
||||
screenshot: 'failing',
|
||||
video: 'failing',
|
||||
uiHierarchy: 'enabled'
|
||||
}
|
||||
},
|
||||
apps: {
|
||||
|
@ -53,7 +58,8 @@ module.exports = {
|
|||
type: 'android.emulator',
|
||||
device: {
|
||||
avdName: 'Pixel_API_31_AOSP'
|
||||
}
|
||||
},
|
||||
headless: process.env.CI ? true : false
|
||||
}
|
||||
},
|
||||
configurations: {
|
||||
|
|
10
package.json
10
package.json
|
@ -20,13 +20,13 @@
|
|||
"prepare": "husky install",
|
||||
"build-icon-set": "node scripts/build-icon-set.js",
|
||||
"e2e:android-build-debug": "yarn detox build -c android.emu.debug",
|
||||
"e2e:android-test-debug": "yarn detox test -c android.emu.debug --record-videos failing --take-screenshots failing",
|
||||
"e2e:android-test-debug": "yarn detox test -c android.emu.debug",
|
||||
"e2e:android-build": "yarn detox build -c android.emu.release",
|
||||
"e2e:android-test": "yarn detox test -c android.emu.release --record-videos failing --take-screenshots failing -R 3",
|
||||
"e2e:ios-build": "yarn detox build -c ios.sim.release",
|
||||
"e2e:ios-test": "yarn detox test -c ios.sim.release --record-videos failing --take-screenshots failing -R 3",
|
||||
"e2e:android-test": "yarn detox test -c android.emu.release",
|
||||
"e2e:ios-build-debug": "yarn detox build -c ios.sim.debug",
|
||||
"e2e:ios-test-debug": "yarn detox test -c ios.sim.debug --record-videos failing --take-screenshots failing"
|
||||
"e2e:ios-test-debug": "yarn detox test -c ios.sim.debug",
|
||||
"e2e:ios-build": "yarn detox build -c ios.sim.release",
|
||||
"e2e:ios-test": "yarn detox test -c ios.sim.release"
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.{js,ts,tsx}": [
|
||||
|
|
Loading…
Reference in New Issue