feat(SubmitBar): enable safe-area-inset-bottom by default (#5956)
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import GoodsAction from '..';
|
||||
import Button from '../../goods-action-button';
|
||||
import Icon from '../../goods-action-icon';
|
||||
import { mount } from '../../../test';
|
||||
@@ -84,3 +85,13 @@ test('Icon render icon slot with dot', () => {
|
||||
|
||||
expect(wrapper).toMatchSnapshot();
|
||||
});
|
||||
|
||||
test('disable safe-area-inset-bottom prop', () => {
|
||||
const wrapper = mount(GoodsAction, {
|
||||
propsData: {
|
||||
safeAreaInsetBottom: false,
|
||||
},
|
||||
});
|
||||
|
||||
expect(wrapper).toMatchSnapshot();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user