mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-07-24 00:43:29 +10:00
chore: update dependencies
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@reactive-resume/config": "workspace:*",
|
||||
"@typescript/native-preview": "7.0.0-dev.20260703.1",
|
||||
"@typescript/native-preview": "7.0.0-dev.20260704.1",
|
||||
"typescript": "^6.0.3"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -26,6 +26,8 @@ describe("renderSummary", () => {
|
||||
content: "<p>Hello</p>",
|
||||
hidden: true,
|
||||
columns: 1,
|
||||
keepTogether: false,
|
||||
startOnNewPage: false,
|
||||
};
|
||||
expect(renderSummary(summary, HEX)).toEqual([]);
|
||||
});
|
||||
@@ -37,6 +39,8 @@ describe("renderSummary", () => {
|
||||
content: "",
|
||||
hidden: false,
|
||||
columns: 1,
|
||||
keepTogether: false,
|
||||
startOnNewPage: false,
|
||||
};
|
||||
expect(renderSummary(summary, HEX)).toEqual([]);
|
||||
});
|
||||
@@ -48,6 +52,8 @@ describe("renderSummary", () => {
|
||||
content: "<p>Hello world</p>",
|
||||
hidden: false,
|
||||
columns: 1,
|
||||
keepTogether: false,
|
||||
startOnNewPage: false,
|
||||
};
|
||||
const paragraphs = renderSummary(summary, HEX);
|
||||
// One heading + the htmlToParagraphs output for one <p>.
|
||||
@@ -61,6 +67,8 @@ describe("renderSummary", () => {
|
||||
content: "<p>Hello world</p>",
|
||||
hidden: false,
|
||||
columns: 1,
|
||||
keepTogether: false,
|
||||
startOnNewPage: false,
|
||||
};
|
||||
const paragraphs = renderSummary(summary, HEX);
|
||||
expect(paragraphs.length).toBeGreaterThanOrEqual(1);
|
||||
@@ -73,6 +81,8 @@ const emptySection = <T extends SectionType>(type: T): ResumeData["sections"][T]
|
||||
icon: getDefaultSectionIconName(type),
|
||||
columns: 1,
|
||||
hidden: false,
|
||||
keepTogether: false,
|
||||
startOnNewPage: false,
|
||||
items: [],
|
||||
}) as ResumeData["sections"][T];
|
||||
|
||||
@@ -99,6 +109,8 @@ describe("renderCustomSection", () => {
|
||||
icon: getDefaultSectionIconName("summary"),
|
||||
columns: 1,
|
||||
hidden: false,
|
||||
keepTogether: false,
|
||||
startOnNewPage: false,
|
||||
items: [],
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user