i18n 적용
CI / test (push) Failing after 11m12s
CI / e2e (push) Has been cancelled
CI / pr_and_merge (push) Has been cancelled

This commit is contained in:
2025-12-10 15:56:51 +09:00
parent 73e9bc6a1c
commit f71207aeb5
127 changed files with 7346 additions and 2079 deletions
+12 -12
View File
@@ -2056,9 +2056,9 @@ describe("/api/export", () => {
const html = await exportTemplateHtml(blocks as Block[]);
expect(html).toContain("Hero 제목을 여기에 입력하세요");
expect(html).toContain("제품이나 서비스를 한 문장으로 설명하는 서브텍스트입니다.");
expect(html).toContain("지금 시작하기");
expect(html).toContain("Your hero headline goes here");
expect(html).toContain("Describe your product or service in a single, clear sentence.");
expect(html).toContain("Get started now");
});
it("Features 템플릿 섹션은 export HTML 에 3개의 Feature 제목과 설명 텍스트를 포함해야 한다", async () => {
@@ -2067,11 +2067,11 @@ describe("/api/export", () => {
const html = await exportTemplateHtml(blocks as Block[]);
expect(html).toContain("Feature 1 제목");
expect(html).toContain("Feature 2 제목");
expect(html).toContain("Feature 3 제목");
expect(html).toContain("Feature 1");
expect(html).toContain("Feature 2");
expect(html).toContain("Feature 3");
const descText = "해당 기능을 간단히 설명하는 텍스트입니다.";
const descText = "A short description of this feature.";
const occurrences = html.split(descText).length - 1;
expect(occurrences).toBeGreaterThanOrEqual(3);
});
@@ -2082,8 +2082,8 @@ describe("/api/export", () => {
const html = await exportTemplateHtml(blocks as Block[]);
expect(html).toContain("지금 바로 행동을 유도하는 CTA 텍스트를 입력하세요.");
expect(html).toContain("CTA 버튼");
expect(html).toContain("Write a compelling CTA message here.");
expect(html).toContain("Call to action");
});
it("Footer 템플릿 섹션은 export HTML 의 마지막 섹션으로 렌더되고 푸터 텍스트를 포함해야 한다", async () => {
@@ -2093,9 +2093,9 @@ describe("/api/export", () => {
const html = await exportTemplateHtml(blocks as Block[]);
expect(html).toContain("MyLanding");
expect(html).toContain("더 나은 웹사이트를 위한 최고의 선택.");
expect(html).toContain("서비스 소개");
expect(html).toContain("문의하기");
expect(html).toContain("The best choice for building better websites.");
expect(html).toContain("Product");
expect(html).toContain("Contact");
expect(html).toContain(" 2025 MyLanding.");
const lastSectionIndex = html.lastIndexOf("<section");