From 931dfe531a29aad9eba71089188f725e629bd50d Mon Sep 17 00:00:00 2001 From: Alex Lewin Date: Tue, 1 Oct 2024 00:54:29 -0400 Subject: [PATCH 1/2] fix: added sleep to ln test --- packages/core-web/src/services/LightningService.test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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() From 239ee2c1809b342990f6331900d8776ba88d21c3 Mon Sep 17 00:00:00 2001 From: Alex Lewin Date: Tue, 1 Oct 2024 00:56:09 -0400 Subject: [PATCH 2/2] chore: remove dependent jobs from verify flow --- .github/workflows/verify.yml | 4 ---- 1 file changed, 4 deletions(-) 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: