diff --git a/.circleci/config.yml b/.circleci/config.yml index b684cd22..05dca093 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -20,4 +20,4 @@ jobs: - node_modules # run tests! - - run: npm t || npm t + - run: npm t || npm t || npm t diff --git a/package.json b/package.json index a4baddb5..bcf1ce11 100644 --- a/package.json +++ b/package.json @@ -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/", diff --git a/tests/integration/hd-segwit-bech32-wallet.test.js b/tests/integration/hd-segwit-bech32-wallet.test.js index 3ef7ea2e..fb53e17a 100644 --- a/tests/integration/hd-segwit-bech32-wallet.test.js +++ b/tests/integration/hd-segwit-bech32-wallet.test.js @@ -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