mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-20 14:05:27 +01:00
TST: hope to improve CI tests
This commit is contained in:
parent
38b7ea525a
commit
5cf55b1f5f
3 changed files with 3 additions and 3 deletions
|
@ -20,4 +20,4 @@ jobs:
|
|||
- node_modules
|
||||
|
||||
# run tests!
|
||||
- run: npm t || npm t
|
||||
- run: npm t || npm t || npm t
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
"ios": "react-native run-ios",
|
||||
"postinstall": "./node_modules/.bin/rn-nodeify --install buffer,events,process,stream,util,inherits,fs,path --hack; npm run releasenotes2json; npm run podinstall; npx jetify",
|
||||
"test": "npm run unit && npm run jest && npm run lint",
|
||||
"jest": "node node_modules/jest/bin/jest.js tests/integration/*",
|
||||
"jest": "node node_modules/jest/bin/jest.js -b -w 1 tests/integration/*",
|
||||
"e2e:release": "detox build -c android.emu.release; detox test -c android.emu.release --record-videos all --take-screenshots all --headless",
|
||||
"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) || detox build -c android.emu.debug; detox test -c android.emu.debug",
|
||||
"lint": "./node_modules/.bin/eslint *.js screen/**/*.js screen/ class/ models/ loc/ tests/integration/ tests/e2e/ tests/unit/",
|
||||
|
|
|
@ -6,7 +6,7 @@ global.net = require('net'); // needed by Electrum client. For RN it is proviced
|
|||
global.tls = require('tls'); // needed by Electrum client. For RN it is proviced in shim.js
|
||||
let BlueElectrum = require('../../BlueElectrum'); // so it connects ASAP
|
||||
|
||||
jasmine.DEFAULT_TIMEOUT_INTERVAL = 200 * 1000;
|
||||
jasmine.DEFAULT_TIMEOUT_INTERVAL = 300 * 1000;
|
||||
|
||||
afterAll(async () => {
|
||||
// after all tests we close socket so the test suite can actually terminate
|
||||
|
|
Loading…
Add table
Reference in a new issue