fix popover test

pull/1881/head
baiyaaaaa 2016-12-20 18:49:01 +08:00 committed by cinwell.li
parent d2f852a320
commit c69e30e8c1
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
import { createVue, triggerEvent, createTest, destroyVM } from '../util';
import Popover, { directive } from 'packages/popover';
import Popover from 'packages/popover';
describe('Popover', () => {
let vm;
@ -149,7 +149,7 @@ describe('Popover', () => {
`,
directives: {
Popover: directive
Popover: Popover.directive
}
}, true);
const compo = vm.$refs.popover1;