From f06a130960a15a0d722ab7836d8192360cc9f68f Mon Sep 17 00:00:00 2001 From: Silberengel Date: Sat, 18 Apr 2026 12:21:38 +0200 Subject: [PATCH] bug-fix build --- src/lib/read-aloud-nostr-expand.test.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/lib/read-aloud-nostr-expand.test.ts b/src/lib/read-aloud-nostr-expand.test.ts index d6da7f8f..c4f155ab 100644 --- a/src/lib/read-aloud-nostr-expand.test.ts +++ b/src/lib/read-aloud-nostr-expand.test.ts @@ -66,7 +66,6 @@ describe('expandNostrReferencesForReadAloud', () => { const profile = finalizeEvent( { kind: 0, - pubkey: pk, content: JSON.stringify({ display_name: 'Pat' }), tags: [], created_at: 1 @@ -82,7 +81,6 @@ describe('expandNostrReferencesForReadAloud', () => { it('uses unknown author when embedded note is cached but profile is not', () => { const sk = generateSecretKey() - const pk = getPublicKey(sk) const inner = finalizeEvent({ kind: 1, content: 'Hi', tags: [], created_at: 2 }, sk) const note = nip19.noteEncode(inner.id) peek.mockImplementation((id: string) => (id === note || id === inner.id ? (inner as Event) : undefined)) @@ -97,7 +95,6 @@ describe('expandNostrReferencesForReadAloud', () => { const profile = finalizeEvent( { kind: 0, - pubkey: pk, content: JSON.stringify({ name: 'n_name' }), tags: [], created_at: 1