오류 수정
This commit is contained in:
@@ -81,7 +81,7 @@ describe("DividerPropertiesPanel", () => {
|
||||
);
|
||||
});
|
||||
|
||||
it("고정 길이 (px) 커스텀 인풋 변경 시 updateBlock 이 widthPx 로 호출되어야 한다", () => {
|
||||
it("고정 길이 커스텀 인풋 변경 시 updateBlock 이 widthPx 로 호출되어야 한다", () => {
|
||||
const updateBlock = vi.fn();
|
||||
|
||||
render(
|
||||
@@ -92,7 +92,7 @@ describe("DividerPropertiesPanel", () => {
|
||||
/>,
|
||||
);
|
||||
|
||||
const widthInput = screen.getByLabelText("Fixed length (px) 커스텀 (px)");
|
||||
const widthInput = screen.getByLabelText("Fixed length 커스텀");
|
||||
fireEvent.change(widthInput, { target: { value: "480" } });
|
||||
|
||||
expect(updateBlock).toHaveBeenCalledWith(
|
||||
@@ -122,7 +122,7 @@ describe("DividerPropertiesPanel", () => {
|
||||
);
|
||||
});
|
||||
|
||||
it("위/아래 여백 커스텀 (px) 인풋 변경 시 updateBlock 이 marginYPx 로 호출되어야 한다", () => {
|
||||
it("위/아래 여백 커스텀 인풋 변경 시 updateBlock 이 marginYPx 로 호출되어야 한다", () => {
|
||||
const updateBlock = vi.fn();
|
||||
|
||||
render(
|
||||
@@ -133,7 +133,7 @@ describe("DividerPropertiesPanel", () => {
|
||||
/>,
|
||||
);
|
||||
|
||||
const marginInputs = screen.getAllByLabelText("Vertical margin 커스텀 (px)");
|
||||
const marginInputs = screen.getAllByLabelText("Vertical margin 커스텀");
|
||||
const marginInput = marginInputs[0] as HTMLInputElement;
|
||||
|
||||
fireEvent.change(marginInput, { target: { value: "24" } });
|
||||
|
||||
Reference in New Issue
Block a user