mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 03:11:15 +00:00
手机端样式细节调整,补充测试用例 (#3)
* unit test * picker and dialog unit tes * fix:quantity and loading
This commit is contained in:
@@ -75,6 +75,9 @@ describe('ActionSheet', () => {
|
||||
callback: () => {
|
||||
called = true;
|
||||
}
|
||||
},
|
||||
{
|
||||
name: '微信'
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -83,6 +86,9 @@ describe('ActionSheet', () => {
|
||||
const actionItem = wrapper.find('.van-actionsheet__item')[0];
|
||||
actionItem.simulate('click');
|
||||
expect(called).to.be.true;
|
||||
|
||||
const secondActionItem = wrapper.find('.van-actionsheet__item')[1];
|
||||
secondActionItem.simulate('click');
|
||||
});
|
||||
|
||||
it('create actionsheet with cancel button', () => {
|
||||
|
Reference in New Issue
Block a user