fix: render cover letter exports without resume chrome

This commit is contained in:
Amruth Pillai
2026-07-07 17:47:52 +02:00
parent 5270a2a9a0
commit 8570c1c70a
25 changed files with 175 additions and 23 deletions
+2 -2
View File
@@ -150,6 +150,7 @@ describe("renderCustomSection", () => {
const section: CustomSection = {
...baseCustom,
type: "cover-letter",
title: "Cover Letter",
items: [
{
id: "x",
@@ -160,8 +161,7 @@ describe("renderCustomSection", () => {
],
};
const paragraphs = renderCustomSection(section, HEX);
// 1 heading + at least two paragraphs (recipient + body)
expect(paragraphs.length).toBeGreaterThanOrEqual(3);
expect(paragraphs).toHaveLength(2);
});
});