diff --git a/components/form/__tests__/__snapshots__/demo.test.js.snap b/components/form/__tests__/__snapshots__/demo.test.js.snap index 8b10d1efaf7d..4c1edfbed586 100644 --- a/components/form/__tests__/__snapshots__/demo.test.js.snap +++ b/components/form/__tests__/__snapshots__/demo.test.js.snap @@ -1421,7 +1421,7 @@ exports[`renders ./components/form/demo/register.md correctly 1`] = ` class="ant-form-item-control " > { [wrapperClassName]: (addonBefore || addonAfter), }); + const groupClassName = classNames(`${props.prefixCls}-group-wrapper`, { + [`${props.prefixCls}-group-wrapper-sm`]: props.size === 'small', + [`${props.prefixCls}-group-wrapper-lg`]: props.size === 'large', + }); + // Need another wrapper for changing display:table to display:inline-block // and put style prop in wrapper if (addonBefore || addonAfter) { return (