mirror of
https://github.com/youzan/vant.git
synced 2025-10-16 16:04:04 +00:00
[Improvement] more component use bem mixin (#932)
This commit is contained in:
@@ -260,7 +260,7 @@ describe('PickerColumn', () => {
|
||||
}
|
||||
});
|
||||
|
||||
expect(wrapper.find('.van-picker-column--disabled').length).to.equal(1);
|
||||
expect(wrapper.find('.van-picker-column__item--disabled').length).to.equal(1);
|
||||
expect(wrapper.vm.currentIndex).to.equal(undefined);
|
||||
});
|
||||
|
||||
|
@@ -84,7 +84,7 @@ describe('Popup', () => {
|
||||
|
||||
modal.click();
|
||||
setTimeout(() => {
|
||||
expect(wrapper.data().currentValue).to.be.false;
|
||||
expect(wrapper.vm.value).to.be.false;
|
||||
done();
|
||||
}, 300);
|
||||
}, 300);
|
||||
|
@@ -87,7 +87,7 @@ describe('Search', () => {
|
||||
|
||||
const eventStub = sinon.stub(wrapper.vm, '$emit');
|
||||
|
||||
const cancelBtn = wrapper.find('.van-search__action-text')[0];
|
||||
const cancelBtn = wrapper.find('.van-search__cancel')[0];
|
||||
cancelBtn.trigger('click');
|
||||
|
||||
wrapper.vm.$nextTick(() => {
|
||||
|
Reference in New Issue
Block a user