Merge branch 'dev' into next

This commit is contained in:
chenjiahan
2020-08-31 11:24:31 +08:00
5 changed files with 60 additions and 29 deletions
+14
View File
@@ -173,6 +173,20 @@ test('description prop', () => {
expect(wrapper).toMatchSnapshot();
});
test('description slot', () => {
const wrapper = mount(ActionSheet, {
propsData: {
value: true,
actions: [{ name: 'Option' }],
},
scopedSlots: {
description: () => 'Custom Description',
},
});
expect(wrapper).toMatchSnapshot();
});
test('close-icon prop', () => {
const wrapper = mount(ActionSheet, {
propsData: {