테스트 오류 수정
This commit is contained in:
@@ -2101,8 +2101,7 @@ describe("/api/export", () => {
|
||||
const html = await exportTemplateHtml(blocks as Block[]);
|
||||
|
||||
expect(html).toContain("Write a compelling CTA message here.");
|
||||
// 작은따옴표는 HTML 이스케이프되어 Don't 형태로 렌더된다.
|
||||
expect(html).toContain("Don't hesitate to get started!");
|
||||
// CTA 버튼 라벨도 함께 export HTML 에 포함되어야 한다.
|
||||
expect(html).toContain("Call to action");
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user