TDD,E2E 개선, 미적용 스타일 개선
CI / test (push) Failing after 2m54s
CI / e2e (push) Has been skipped
CI / pr_and_merge (push) Has been skipped

This commit is contained in:
2025-12-07 09:52:42 +09:00
parent e726f43f7c
commit a5b432fb7b
167 changed files with 7397 additions and 663 deletions
+16
View File
@@ -42,6 +42,22 @@ describe("dividerHelpers.computeDividerExportTokens", () => {
expect(zeroTokens.style).toContain("margin:1em 0;");
});
it("widthMode=\"fixed\" 인 경우 widthPx 는 em 단위 width 로 Export style 에 반영되어야 한다", () => {
const tokens = computeDividerExportTokens(
{
...baseProps,
align: "center",
widthMode: "fixed",
widthPx: 480,
},
escapers,
);
expect(tokens.style).toContain("width:30em");
expect(tokens.style).toContain("margin-left:auto");
expect(tokens.style).toContain("margin-right:auto");
});
it("Export 구분선 style 에서는 border-bottom 두께를 제외하고 px 단위가 없어야 한다", () => {
const tokens = computeDividerExportTokens({
...baseProps,