[new feature] ActionSheet: add round prop (#3874)

This commit is contained in:
neverland
2019-07-17 13:56:23 +08:00
committed by GitHub
parent 1c09a44751
commit e6a13e8887
5 changed files with 23 additions and 0 deletions

View File

@@ -137,3 +137,15 @@ test('close-on-click-action prop', () => {
expect(onInput).toHaveBeenCalledWith(false);
});
test('round prop', () => {
const wrapper = mount(ActionSheet, {
propsData: {
value: true,
round: true,
actions: [{ name: 'Option' }]
}
});
expect(wrapper).toMatchSnapshot();
});