| ... | @@ -58,9 +58,6 @@ describe("normalizeDesktopUpdateReleaseNotes", () => { | ... | @@ -58,9 +58,6 @@ describe("normalizeDesktopUpdateReleaseNotes", () => { |
| 58 | }); | 58 | }); |
| 59 | | 59 | |
| 60 | it("does not throw on out-of-range numeric entities and keeps the literal", () => { | 60 | it("does not throw on out-of-range numeric entities and keeps the literal", () => { |
| 61 | expect(() => | | |
| 62 | normalizeDesktopUpdateReleaseNotes("- Broken entity �", "1.0.0"), | | |
| 63 | ).not.toThrow(); | | |
| 64 | const notes = normalizeDesktopUpdateReleaseNotes("- Broken entity �", "1.0.0"); | 61 | const notes = normalizeDesktopUpdateReleaseNotes("- Broken entity �", "1.0.0"); |
| 65 | expect(notes).toEqual([{ version: "1.0.0", items: ["Broken entity �"] }]); | 62 | expect(notes).toEqual([{ version: "1.0.0", items: ["Broken entity �"] }]); |
| 66 | }); | 63 | }); |