diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index f5681c7..362ff90 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -25,7 +25,6 @@ jobs: build: name: Build - needs: lint runs-on: ubuntu-latest timeout-minutes: 5 @@ -41,7 +40,6 @@ jobs: types: name: Types - needs: lint runs-on: ubuntu-latest steps: @@ -56,7 +54,6 @@ jobs: test: name: Test - needs: lint runs-on: ubuntu-latest steps: @@ -78,7 +75,6 @@ jobs: build-docs: name: Build Docs - needs: lint runs-on: ubuntu-latest steps: diff --git a/packages/core-web/src/services/LightningService.test.ts b/packages/core-web/src/services/LightningService.test.ts index ff5c64a..a291efe 100644 --- a/packages/core-web/src/services/LightningService.test.ts +++ b/packages/core-web/src/services/LightningService.test.ts @@ -153,7 +153,9 @@ walletTest( await expect( wallet.testing.payWithFaucet(invoice.invoice), ).resolves.toBeDefined() - await expect(wallet.lightning.waitForReceive(invoice.operation_id)).resolves + await wallet.lightning.waitForReceive(invoice.operation_id) + // Wait for balance to fully update + await new Promise((resolve) => setTimeout(resolve, 1000)) const externalInvoice = await wallet.testing.getExternalInvoice(10) const payment = await wallet.lightning.payInvoice(externalInvoice.pr) expect(payment).toBeDefined()