mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-08-24 23:32:19 +10:00
feat: add semantic CSS stylesheets (#3274)
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
This commit is contained in:
co-authored by
Cursor Agent
parent
4ac19f81b3
commit
d2ffbf9618
@@ -35,13 +35,15 @@ describe("cover letter PDF layout", () => {
|
||||
expect(source).toContain("showHeader={shouldShowResumeHeader");
|
||||
expect(source).toContain("pageSize={pageSize}");
|
||||
expect(source).toContain("pageMinHeightStyle={pageMinHeightStyle}");
|
||||
expect(source).toContain("pageNumber={index + 1}");
|
||||
});
|
||||
|
||||
it.each(pageFiles)("%s renders the shared page props", (file) => {
|
||||
const source = readTemplate(file);
|
||||
|
||||
expect(source, basename(file)).toContain("pageSize, pageMinHeightStyle, showHeader");
|
||||
expect(source, basename(file)).toContain("<Page size={pageSize}");
|
||||
expect(source, basename(file)).toContain("pageSize, pageMinHeightStyle, showHeader, pageNumber");
|
||||
expect(source, basename(file)).toContain("size={semanticPageSize ?? pageSize}");
|
||||
expect(source, basename(file)).toContain("pageNodeKey={pageNodeKey}");
|
||||
expect(source, basename(file)).toContain("showHeader &&");
|
||||
expect(source, basename(file)).not.toContain('from "../shared/cover-letter"');
|
||||
expect(source, basename(file)).not.toContain('from "../shared/page-size"');
|
||||
|
||||
Reference in New Issue
Block a user