chore: bump @vant/cli@3.5.1 (#8221)

This commit is contained in:
neverland
2021-02-26 10:24:53 +08:00
committed by GitHub
parent 6aa2beeda4
commit 1dbe9c54eb
23 changed files with 403 additions and 203 deletions
+2 -2
View File
@@ -13,10 +13,10 @@ test('should emit "update:modelValue" event when radio icon or label is clicked'
const icon = wrapper.find('.van-radio__icon');
const label = wrapper.find('.van-radio__label');
icon.trigger('click');
expect(wrapper.emitted('update:modelValue')[0]).toEqual([props.name]);
expect(wrapper.emitted('update:modelValue')![0]).toEqual([props.name]);
label.trigger('click');
expect(wrapper.emitted('update:modelValue')[0]).toEqual([props.name]);
expect(wrapper.emitted('update:modelValue')![0]).toEqual([props.name]);
});
test('should not emit "update:modelValue" event when radio icon is disabled and clicked', () => {