[new feature] Field: add size prop (#2936)

This commit is contained in:
neverland
2019-03-11 09:13:23 +08:00
committed by GitHub
parent cb72fef807
commit e553c6e0dd
5 changed files with 21 additions and 0 deletions
+9
View File
@@ -187,3 +187,12 @@ test('render right icon with icon prop for old version', () => {
});
expect(wrapper).toMatchSnapshot();
});
test('size prop', () => {
const wrapper = mount(Field, {
propsData: {
size: 'large'
}
});
expect(wrapper).toMatchSnapshot();
});