diff --git a/build/config.js b/build/config.js index b0712187d..cf9d0776c 100644 --- a/build/config.js +++ b/build/config.js @@ -1,5 +1,5 @@ module.exports = { dev: { - componentName: 'popconfirm', // dev components + componentName: 'popover', // dev components }, }; diff --git a/components/popover/__tests__/index.test.js b/components/popover/__tests__/index.test.js index 8b8d4e649..5bdf80fc5 100644 --- a/components/popover/__tests__/index.test.js +++ b/components/popover/__tests__/index.test.js @@ -1,8 +1,10 @@ import { mount } from '@vue/test-utils'; import { asyncExpect } from '@/tests/utils'; import Popover from '..'; +import mountTest from '../../../tests/shared/mountTest'; describe('Popover', () => { + mountTest(Popover); it('should show overlay when trigger is clicked', async () => { const popover = mount( {