diff --git a/web/src/lib/__tests__/mdn.test.ts b/web/src/lib/__tests__/mdn.test.ts index f71156f..b0222fd 100644 --- a/web/src/lib/__tests__/mdn.test.ts +++ b/web/src/lib/__tests__/mdn.test.ts @@ -77,7 +77,7 @@ describe("what it refuses to acknowledge", () => { }); const OPTS = { - from: { name: "John Ellis", email: "john@example.org" } as EmailAddress, + from: { name: "John Coffey", email: "john@example.org" } as EmailAddress, to: { name: null, email: "ann@example.com" } as EmailAddress, finalRecipient: "john@example.org", reportingUa: "mail.example.org; ihasmail 2.0", diff --git a/web/src/lib/__tests__/signatureHtml.test.ts b/web/src/lib/__tests__/signatureHtml.test.ts index 6f073b6..6cab445 100644 --- a/web/src/lib/__tests__/signatureHtml.test.ts +++ b/web/src/lib/__tests__/signatureHtml.test.ts @@ -3,14 +3,14 @@ import { buildMarkerSignature, byteLength, compactHtml, markerOf, signatureTooLo describe("signature compaction", () => { it("strips office cruft and non-essential styles but keeps colours and links", () => { - const src = `

John Ellis

linuxexpert.org
`; + const src = `

John Coffey

linuxexpert.org
`; const out = compactHtml(src); expect(out).not.toContain("mso-"); expect(out).not.toContain("class="); expect(out).not.toContain("John Ellis"); + expect(out).toContain("John Coffey"); expect(out).toContain('href="https://linuxexpert.org"'); expect(out).toContain('width="100"'); expect(out.length).toBeLessThan(src.length / 2); diff --git a/web/src/store/__tests__/participants.test.ts b/web/src/store/__tests__/participants.test.ts index a04b4c0..4fcfabe 100644 --- a/web/src/store/__tests__/participants.test.ts +++ b/web/src/store/__tests__/participants.test.ts @@ -41,7 +41,7 @@ describe("makeParticipant", () => { expect(guest.expectReply).toBe(true); }); it("marks the organizer as owner and keeps a status already given", () => { - const me = makeParticipant("john@example.org", "John Doe", "owner"); + const me = makeParticipant("john@example.org", "John Coffey", "owner"); expect(me.roles).toEqual({ owner: true, attendee: true }); expect(me.participationStatus).toBe("accepted"); expect(me.expectReply).toBe(false);