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
@@ -25,7 +25,7 @@ test('should close Toast when using closeOnClick prop and clicked', () => {
});
wrapper.find('.van-toast').trigger('click');
expect(wrapper.emitted('update:show')[0]).toEqual([false]);
expect(wrapper.emitted('update:show')![0]).toEqual([false]);
});
test('should close Toast when using closeOnClickOverlay prop and overlay is clicked', () => {
@@ -37,5 +37,5 @@ test('should close Toast when using closeOnClickOverlay prop and overlay is clic
});
wrapper.find('.van-overlay').trigger('click');
expect(wrapper.emitted('update:show')[0]).toEqual([false]);
expect(wrapper.emitted('update:show')![0]).toEqual([false]);
});