Merge pull request #3812 from BlueWallet/tests-on-ci

TST: some improvements to tests on ci
This commit is contained in:
GLaDOS 2021-09-14 16:07:06 +01:00 committed by GitHub
commit 39cff9b7e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,19 +56,19 @@
"ios": "react-native run-ios",
"postinstall": "rn-nodeify --install buffer,events,process,stream,util,inherits,fs,path,assert,crypto --hack; npm run releasenotes2json; npm run branch2json; npm run podinstall",
"test": "npm run tslint && npm run lint && npm run unit && npm run jest",
"jest": "jest -b -w 1 tests/integration/*",
"jest": "jest -b tests/integration/*",
"windowspatches": "./scripts/windows-patches.sh",
"maccatalystpatches": "./scripts/maccatalystpatches/applypatchesformaccatalyst.sh",
"e2e:debug-build": "detox build -c android.emu.debug",
"e2e:debug-test": "detox test -c android.emu.debug -l fatal",
"e2e:debug-test": "detox test -c android.emu.debug -d 200000 -l info",
"e2e:debug": "(test -f android/app/build/outputs/apk/debug/app-debug.apk && test -f android/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk) || npm run e2e:debug-build; npm run e2e:debug-test",
"e2e:release-build": "detox build -c android.emu.release",
"e2e:release-test": "detox test -c android.emu.release --record-videos all --take-screenshots all --headless -d 60000 --loglevel info",
"e2e:release-test": "detox test -c android.emu.release --record-videos all --take-screenshots all --headless -d 200000 --loglevel info -u",
"tslint": "tsc",
"lint": "eslint --ext .js,.ts,.tsx '*.@(js|ts|tsx)' screen 'blue_modules/*.@(js|ts|tsx)' class models loc tests components",
"lint:fix": "npm run lint -- --fix",
"lint:quickfix": "git status --porcelain | grep -v '\\.json' | grep '\\.js' --color=never | awk '{print $2}' | xargs eslint --fix; exit 0",
"unit": "jest tests/unit/*",
"unit": "jest -b tests/unit/*",
"windows": "react-native run-windows"
},
"jest": {