diff options
| author | Adam Soltys <[email protected]> | 2026-03-06 15:07:08 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-03-06 15:07:08 -0800 |
| commit | d14c03e3f2e3806e17852a440d2a39f377570758 (patch) | |
| tree | 38138c52e23a642d0b2c9853e59afb638a87d1e5 /test | |
| parent | 0020101f8f1d83fb323c77d0620af821be9d4e66 (diff) | |
| download | coinos-ui-d14c03e3f2e3806e17852a440d2a39f377570758.tar.gz coinos-ui-d14c03e3f2e3806e17852a440d2a39f377570758.zip | |
lint
Diffstat (limited to 'test')
| -rw-r--r-- | test/e2e/custodial-receive-bitcoin.spec.ts | 1 | ||||
| -rw-r--r-- | test/e2e/custodial-receive-lightning.spec.ts | 1 | ||||
| -rw-r--r-- | test/e2e/custodial-send-external-ln.spec.ts | 1 | ||||
| -rw-r--r-- | test/e2e/custodial-send-lightning.spec.ts | 1 | ||||
| -rw-r--r-- | test/e2e/helpers.ts | 4 | ||||
| -rw-r--r-- | test/e2e/mls-messaging.spec.ts | 2 | ||||
| -rw-r--r-- | test/e2e/vault-receive-bitcoin.spec.ts | 1 | ||||
| -rw-r--r-- | test/e2e/vault-send-bob-btc.spec.ts | 1 | ||||
| -rw-r--r-- | test/e2e/vault-send-to-custodial-btc.spec.ts | 2 |
9 files changed, 3 insertions, 11 deletions
diff --git a/test/e2e/custodial-receive-bitcoin.spec.ts b/test/e2e/custodial-receive-bitcoin.spec.ts index 508a440e..c12e99ef 100644 --- a/test/e2e/custodial-receive-bitcoin.spec.ts +++ b/test/e2e/custodial-receive-bitcoin.spec.ts @@ -7,7 +7,6 @@ import { bitcoinSend, mineBlocks, waitForInvoicePaid, - waitForPaidRedirect, } from "./helpers"; test("custodial receives external bitcoin payment from bitcoind", async ({ page }) => { diff --git a/test/e2e/custodial-receive-lightning.spec.ts b/test/e2e/custodial-receive-lightning.spec.ts index 5c35b557..5c1bfdc5 100644 --- a/test/e2e/custodial-receive-lightning.spec.ts +++ b/test/e2e/custodial-receive-lightning.spec.ts @@ -6,7 +6,6 @@ import { login, lightningPay, waitForInvoicePaid, - waitForPaidRedirect, } from "./helpers"; test("custodial receives external lightning payment from clb", async ({ page }) => { diff --git a/test/e2e/custodial-send-external-ln.spec.ts b/test/e2e/custodial-send-external-ln.spec.ts index 6142d9c8..baaa4c1b 100644 --- a/test/e2e/custodial-send-external-ln.spec.ts +++ b/test/e2e/custodial-send-external-ln.spec.ts @@ -5,7 +5,6 @@ import { loginNewContext, lightningInvoice, pasteAndSend, - clickSendButton, waitForSentRedirect, } from "./helpers"; diff --git a/test/e2e/custodial-send-lightning.spec.ts b/test/e2e/custodial-send-lightning.spec.ts index 62bf9415..88f87f40 100644 --- a/test/e2e/custodial-send-lightning.spec.ts +++ b/test/e2e/custodial-send-lightning.spec.ts @@ -7,7 +7,6 @@ import { apiBaseUrl, loginNewContext, pasteAndSend, - clickSendButton, waitForSentRedirect, waitForPaidRedirect, } from "./helpers"; diff --git a/test/e2e/helpers.ts b/test/e2e/helpers.ts index 28b2d4c4..e8d4d6f6 100644 --- a/test/e2e/helpers.ts +++ b/test/e2e/helpers.ts @@ -84,7 +84,7 @@ export async function apiGetInvoice(page: Page, invoiceId: string) { // --- Invoice creation via UI --- -export async function createBitcoinInvoiceViaUI(page: Page, username: string) { +export async function createBitcoinInvoiceViaUI(page: Page, _username: string) { await page.goto(`/invoice?type=bitcoin&address_type=bech32`); await page.waitForURL(/\/invoice\/[^/?#]+/, { timeout: 15_000 }); @@ -101,7 +101,7 @@ export async function createBitcoinInvoiceViaUI(page: Page, username: string) { return { invoiceId: invoiceId!, address }; } -export async function createLightningInvoiceViaUI(page: Page, username: string) { +export async function createLightningInvoiceViaUI(page: Page, _username: string) { await page.goto(`/invoice`); await page.waitForURL(/\/invoice\/[^/?#]+/, { timeout: 15_000 }); diff --git a/test/e2e/mls-messaging.spec.ts b/test/e2e/mls-messaging.spec.ts index 94955950..b73b90aa 100644 --- a/test/e2e/mls-messaging.spec.ts +++ b/test/e2e/mls-messaging.spec.ts @@ -99,7 +99,7 @@ test.describe("MLS messaging", () => { }); test("Messages appear in the chat list on /messages", async ({ browser }) => { - const { context: aliceCtx, page: alicePage, pubkey: alicePubkey } = await loginWithNsec(browser, aliceUsername, alicePassword); + const { context: aliceCtx, page: alicePage } = await loginWithNsec(browser, aliceUsername, alicePassword); const bobRes = await alicePage.request.get(`${apiBaseUrl}/users/${bobUsername}`); const bobPubkey = (await bobRes.json()).pubkey; diff --git a/test/e2e/vault-receive-bitcoin.spec.ts b/test/e2e/vault-receive-bitcoin.spec.ts index 0759d4c0..32fc9be4 100644 --- a/test/e2e/vault-receive-bitcoin.spec.ts +++ b/test/e2e/vault-receive-bitcoin.spec.ts @@ -10,7 +10,6 @@ import { bitcoinSend, mineBlocks, waitForInvoicePaid, - waitForPaidRedirect, } from "./helpers"; test("bitcoin vault receives external bitcoin payment from bitcoind", async ({ page }) => { diff --git a/test/e2e/vault-send-bob-btc.spec.ts b/test/e2e/vault-send-bob-btc.spec.ts index 3d375b7b..f8daa0fb 100644 --- a/test/e2e/vault-send-bob-btc.spec.ts +++ b/test/e2e/vault-send-bob-btc.spec.ts @@ -7,7 +7,6 @@ import { fillNumpadAmount, waitForSendComplete, setActiveAccount, - apiBaseUrl, apiLogin, ensureVaultAccount, fundVaultAccount, diff --git a/test/e2e/vault-send-to-custodial-btc.spec.ts b/test/e2e/vault-send-to-custodial-btc.spec.ts index aa52213c..c963b786 100644 --- a/test/e2e/vault-send-to-custodial-btc.spec.ts +++ b/test/e2e/vault-send-to-custodial-btc.spec.ts @@ -5,10 +5,8 @@ import { bobUsername, bobPassword, apiBaseUrl, - login, loginNewContext, setActiveAccount, - createBitcoinInvoiceViaUI, pasteAndSend, } from "./helpers"; |
