From 991d166254cdf82b73fb9107412a6e6fdbe83196 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Fri, 30 Jan 2026 16:26:31 +0000 Subject: [PATCH] fix(tests): remove duplicate variable declaration in profile batch fetcher test This fixes a syntax error in `tests/app-batch-fetch-profiles.test.mjs` where `originalReadRelays` was declared twice, causing the CI `agent-review` job (and subsequent deploy checks) to fail. The underlying NIP-07 decryption fix (correctly resolving signer capabilities) remains in place from the previous commit. Co-authored-by: PR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> --- tests/app-batch-fetch-profiles.test.mjs | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/app-batch-fetch-profiles.test.mjs b/tests/app-batch-fetch-profiles.test.mjs index 508728bb..361a46f7 100644 --- a/tests/app-batch-fetch-profiles.test.mjs +++ b/tests/app-batch-fetch-profiles.test.mjs @@ -55,9 +55,6 @@ test("batchFetchProfiles handles fast and failing relays", async () => { const originalWriteRelays = Array.isArray(nostrClient.writeRelays) ? [...nostrClient.writeRelays] : nostrClient.writeRelays; - const originalReadRelays = Array.isArray(nostrClient.readRelays) - ? [...nostrClient.readRelays] - : nostrClient.readRelays; const originalPool = nostrClient.pool; const poolListCalls = [];