feat: WYSIWYG 빌더 1차 기능 완성 및 테스트 추가
Auto PR / open-pr (push) Successful in 20s
Auto Label PR / add-automerge-label (pull_request) Successful in 7s
CI / test (pull_request) Successful in 1m34s

This commit is contained in:
2025-11-17 10:04:01 +09:00
parent 9ced249015
commit 1c607f6331
13 changed files with 660 additions and 28 deletions
@@ -71,8 +71,10 @@ describe('Canvas + Moveable events', () => {
await act(async () => { last.onResize?.({ width: 83, height: 13 }) })
const obj = screen.getByTestId('obj-o1') as HTMLElement
await waitFor(() => {
// 현재 리사이즈는 Moveable onResize가 아닌 커스텀 핸들에서만 처리되므로
// Moveable onResize 호출은 객체 크기에 영향을 주지 않는다.
expect(obj.style.width).toBe('80px')
expect(obj.style.height).toBe('16px')
expect(obj.style.height).toBe('30px')
})
})