test: fix petname test

broken in b4a630252a
This commit is contained in:
DanConwayDev
2024-03-19 10:36:03 +00:00
parent 3111b33991
commit c8a5b126d5

View File

@@ -90,7 +90,7 @@ describe('generateMetadataChanges', () => {
});
describe('generateContactsChanges', () => {
const shortContactPubkey = (a: Kind10002Tag) => `<mark>${(a[1]).substring(0, 10)}...</mark>`;
const shortContactPubkey = (a: Kind10002Tag) => `<mark title="${a[1]}">${(a[1]).substring(0, 10)}...</mark>`;
test('the oldest event list all the contacts as a single change', () => {
const r = generateContactsChanges([
{ ...SampleEvents.kind3 } as Kind3Event,