feat(Area): add columns-top、columns-bottom prop (#5719)

This commit is contained in:
chenjiahan
2020-02-25 19:25:20 +08:00
parent 7344389535
commit 064cff6fe0
6 changed files with 43 additions and 1 deletions
+12
View File
@@ -139,3 +139,15 @@ test('title slot', async () => {
await later();
expect(wrapper).toMatchSnapshot();
});
test('columns-top、columns-bottom slot', async () => {
const wrapper = mount(Area, {
slots: {
'columns-top': 'Top',
'columns-bottom': 'Bottom',
},
});
await later();
expect(wrapper).toMatchSnapshot();
});