mirror of
https://github.com/youzan/vant.git
synced 2025-10-22 03:44:48 +00:00
[Test] optimize async cases (#1232)
This commit is contained in:
@@ -43,5 +43,5 @@ test('function call', (done) => {
|
||||
|
||||
test('register component', () => {
|
||||
Vue.use(ImagePreview);
|
||||
expect(Vue.component('van-image-preview')).toBeTruthy();
|
||||
expect(Vue.component(ImagePreviewVue.name)).toBeTruthy();
|
||||
});
|
||||
|
Reference in New Issue
Block a user