mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-03-03 03:59:10 +01:00
TST
This commit is contained in:
parent
843a2c3804
commit
3b9e3dbea1
3 changed files with 13 additions and 2 deletions
12
App.test.js
12
App.test.js
|
@ -311,7 +311,7 @@ describe('Watch only wallet', () => {
|
|||
});
|
||||
|
||||
it('can fetch tx', async () => {
|
||||
jasmine.DEFAULT_TIMEOUT_INTERVAL = 30 * 1000;
|
||||
jasmine.DEFAULT_TIMEOUT_INTERVAL = 60 * 1000;
|
||||
let w = new WatchOnlyWallet();
|
||||
|
||||
w.setSecret('167zK5iZrs1U6piDqubD3FjRqUTM2CZnb8');
|
||||
|
@ -328,6 +328,16 @@ describe('Watch only wallet', () => {
|
|||
assert.equal(w.getTransactions().length, 2);
|
||||
});
|
||||
|
||||
it('can fetch complex TXs', async () => {
|
||||
jasmine.DEFAULT_TIMEOUT_INTERVAL = 30 * 1000;
|
||||
let w = new WatchOnlyWallet();
|
||||
w.setSecret('3NLnALo49CFEF4tCRhCvz45ySSfz3UktZC');
|
||||
await w.fetchTransactions();
|
||||
for (let tx of w.getTransactions()) {
|
||||
assert.ok(tx.value, 'incorrect tx.value');
|
||||
}
|
||||
});
|
||||
|
||||
it('can validate address', async () => {
|
||||
let w = new WatchOnlyWallet();
|
||||
w.setSecret('12eQ9m4sgAwTSQoNXkRABKhCXCsjm2jdVG');
|
||||
|
|
2
app.json
2
app.json
|
@ -7,7 +7,7 @@
|
|||
"ios"
|
||||
],
|
||||
"ios": {
|
||||
"buildNumber": "97",
|
||||
"buildNumber": "98",
|
||||
"supportsTablet": true,
|
||||
"bundleIdentifier": "io.bluewallet.bluewallet",
|
||||
"infoPlist": {
|
||||
|
|
|
@ -14,3 +14,4 @@ FIX: Import - QR scan - add support for HD seedphrase & blitzhub format (closes
|
|||
REF: empty tx list
|
||||
FIX: currency undefined error
|
||||
REF: qr scan improved
|
||||
FIX: txs with many outputs/inputs are displayd correctly
|
Loading…
Add table
Reference in a new issue