[improvement] Slider: support number type of bar-height prop (#3794)
This commit is contained in:
@@ -105,3 +105,14 @@ it('click vertical', () => {
|
||||
|
||||
restoreMock();
|
||||
});
|
||||
|
||||
it('bar height', () => {
|
||||
const wrapper = mount(Slider, {
|
||||
propsData: {
|
||||
value: 50,
|
||||
barHeight: 10
|
||||
}
|
||||
});
|
||||
|
||||
expect(wrapper).toMatchSnapshot();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user