feat(Progress): add track-color prop (#4789)
This commit is contained in:
@@ -16,3 +16,13 @@ test('calc width', async () => {
|
||||
await later();
|
||||
expect(wrapper).toMatchSnapshot();
|
||||
});
|
||||
|
||||
test('track color prop', async () => {
|
||||
const wrapper = mount(Progress, {
|
||||
propsData: {
|
||||
trackColor: 'green'
|
||||
}
|
||||
});
|
||||
|
||||
expect(wrapper.element.style.background).toEqual('green');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user