[new feature] SwitchCell: add cell-size prop

This commit is contained in:
陈嘉涵
2019-04-30 15:30:24 +08:00
parent 95925ab328
commit 70351dc4f0
8 changed files with 36 additions and 3 deletions

View File

@@ -25,3 +25,13 @@ test('border prop', () => {
expect(wrapper).toMatchSnapshot();
});
test('cell-size prop', () => {
const wrapper = mount(SwitchCell, {
propsData: {
cellSize: 'large'
}
});
expect(wrapper).toMatchSnapshot();
});