mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-08-24 15:22:20 +10:00
fix: render cover letter exports without resume chrome
This commit is contained in:
@@ -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);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user