[new feature] Tabbar: add border prop

This commit is contained in:
陈嘉涵
2019-05-20 15:45:32 +08:00
parent a6b60c2a55
commit ead802d9f1
6 changed files with 20 additions and 1 deletions

View File

@@ -112,3 +112,13 @@ test('name prop', () => {
expect(onChange).toHaveBeenCalledWith('b');
});
test('disable border', () => {
const wrapper = mount(Tabbar, {
propsData: {
border: false
}
});
expect(wrapper).toMatchSnapshot();
});