유닛테스트 수정
CI / test (push) Successful in 4m35s
CI / pr_and_merge (push) Successful in 1m44s

This commit is contained in:
2025-12-02 11:27:08 +09:00
parent 3e223a45d4
commit c331d5e14a
16 changed files with 76 additions and 22 deletions
+2 -3
View File
@@ -467,9 +467,8 @@ describe("formHelpers.computeFormControllerPublicTokens", () => {
expect(checkboxField.groupLabelImageUrl).toBe("https://example.com/group.png");
expect(tokens.formClassName).toBe("space-y-3");
// FormBlock 은 이제 레이아웃/배경 스타일을 가지지 않는 순수 컨트롤러이므로,
// formStyle 은 항상 빈 객체여야 한다.
expect(tokens.formStyle).toEqual({});
// FormBlock 은 레이아웃 정보는 가지지 않지만, backgroundColorCustom 으로 폼 래퍼 배경색만 제어할 수 있다.
expect(tokens.formStyle).toEqual({ backgroundColor: "#123456" });
expect(tokens.submitLabel).toBe("컨트롤러 버튼");
});