From c8a5b126d581f59a7557f63e15e8d0dab0930a17 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Tue, 19 Mar 2024 10:36:03 +0000 Subject: [PATCH] test: fix petname test broken in b4a630252a45b900b9cedc8a64a89ce2bd72cd0e --- src/LoadHistory.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LoadHistory.test.ts b/src/LoadHistory.test.ts index 0c2623e..ac58edc 100644 --- a/src/LoadHistory.test.ts +++ b/src/LoadHistory.test.ts @@ -90,7 +90,7 @@ describe('generateMetadataChanges', () => { }); describe('generateContactsChanges', () => { - const shortContactPubkey = (a: Kind10002Tag) => `${(a[1]).substring(0, 10)}...`; + const shortContactPubkey = (a: Kind10002Tag) => `${(a[1]).substring(0, 10)}...`; test('the oldest event list all the contacts as a single change', () => { const r = generateContactsChanges([ { ...SampleEvents.kind3 } as Kind3Event,