[new feature] Loading: add text-size prop

This commit is contained in:
陈嘉涵
2019-04-30 17:47:41 +08:00
parent cd0720954c
commit 0a7ca2fb6e
11 changed files with 53 additions and 18 deletions

View File

@@ -0,0 +1,15 @@
import { mount } from '../../../test/utils';
import Loading from '..';
test('text-size prop', () => {
const wrapper = mount(Loading, {
propsData: {
textSize: 20
},
scopedSlots: {
default: () => 'Text'
}
});
expect(wrapper).toMatchSnapshot();
});