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

View File

@@ -111,7 +111,7 @@ test('should render success text correctly', async () => {
await later();
// loading
expect(wrapper.emitted('update:modelValue')[0]).toEqual([true]);
expect(wrapper.emitted('update:modelValue')![0]).toEqual([true]);
await wrapper.setProps({ modelValue: true });
// success
@@ -133,7 +133,7 @@ test('should render success slot correctly', async () => {
// loading
const track = wrapper.find('.van-pull-refresh__track');
triggerDrag(track, 0, 100);
expect(wrapper.emitted('update:modelValue')[0]).toEqual([true]);
expect(wrapper.emitted('update:modelValue')![0]).toEqual([true]);
await wrapper.setProps({ modelValue: true });
// success