mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 10:44:59 +00:00
[new feature] Rate: add gutter prop
This commit is contained in:
@@ -88,3 +88,13 @@ test('touchmove', () => {
|
||||
expect(onChange).toHaveBeenNthCalledWith(2, 3);
|
||||
expect(onChange).toHaveBeenNthCalledWith(3, 4);
|
||||
});
|
||||
|
||||
test('gutter prop', () => {
|
||||
const wrapper = mount(Rate, {
|
||||
propsData: {
|
||||
gutter: 10
|
||||
}
|
||||
});
|
||||
|
||||
expect(wrapper).toMatchSnapshot();
|
||||
});
|
||||
|
Reference in New Issue
Block a user