mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-20 10:12:01 +01:00
TST: ln
This commit is contained in:
parent
78b0a4c357
commit
4c89e36f56
@ -6,12 +6,6 @@ let assert = require('assert');
|
||||
describe('LightningCustodianWallet', () => {
|
||||
let l1 = new LightningCustodianWallet();
|
||||
|
||||
it.skip('can issue wallet credentials', async () => {
|
||||
let l0 = new LightningCustodianWallet();
|
||||
await l0.createAccount();
|
||||
console.log(l0.getSecret());
|
||||
});
|
||||
|
||||
it('can create, auth and getbtc', async () => {
|
||||
jasmine.DEFAULT_TIMEOUT_INTERVAL = 100 * 1000;
|
||||
assert.ok(l1.refill_addressess.length === 0);
|
||||
@ -194,7 +188,12 @@ describe('LightningCustodianWallet', () => {
|
||||
assert.ok(invoices2[0].description);
|
||||
assert.equal(invoices2[0].description, 'test memo');
|
||||
assert.ok(invoices2[0].payment_request);
|
||||
assert.ok(invoices2[0].timestamp);
|
||||
assert.ok(invoices2[0].expire_time);
|
||||
assert.equal(invoices2[0].amt, 1);
|
||||
for (let inv of invoices2) {
|
||||
assert.equal(inv.type, 'user_invoice');
|
||||
}
|
||||
|
||||
await lOld.fetchBalance();
|
||||
let oldBalance = lOld.balance;
|
||||
|
Loading…
Reference in New Issue
Block a user