[Test] optimize async cases (#1232)

This commit is contained in:
neverland
2018-06-06 20:13:24 +08:00
committed by GitHub
parent 25bd67e8f1
commit 74aa001bb6
10 changed files with 127 additions and 137 deletions

View File

@@ -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();
});