feat(ImagePreview): support local registration (#6031)

This commit is contained in:
neverland
2020-04-11 10:57:44 +08:00
committed by GitHub
parent baefc6b212
commit 456fc99017
7 changed files with 62 additions and 11 deletions
+4
View File
@@ -261,3 +261,7 @@ test('closeOnPopstate', () => {
trigger(window, 'popstate');
expect(wrapper.emitted('input')[1]).toBeFalsy();
});
test('ImagePreview.Component', () => {
expect(ImagePreview.Component).toEqual(ImagePreviewVue);
});