Skip to content

Commit c250fbf

Browse files
committed
test: update popover
1 parent e7d935c commit c250fbf

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

build/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module.exports = {
22
dev: {
3-
componentName: 'popconfirm', // dev components
3+
componentName: 'popover', // dev components
44
},
55
};

components/popover/__tests__/index.test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
import { mount } from '@vue/test-utils';
22
import { asyncExpect } from '@/tests/utils';
33
import Popover from '..';
4+
import mountTest from '../../../tests/shared/mountTest';
45

56
describe('Popover', () => {
7+
mountTest(Popover);
68
it('should show overlay when trigger is clicked', async () => {
79
const popover = mount(
810
{

0 commit comments

Comments
 (0)