test: update popover
parent
e7d935cfac
commit
c250fbf60c
|
@ -1,5 +1,5 @@
|
||||||
module.exports = {
|
module.exports = {
|
||||||
dev: {
|
dev: {
|
||||||
componentName: 'popconfirm', // dev components
|
componentName: 'popover', // dev components
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,8 +1,10 @@
|
||||||
import { mount } from '@vue/test-utils';
|
import { mount } from '@vue/test-utils';
|
||||||
import { asyncExpect } from '@/tests/utils';
|
import { asyncExpect } from '@/tests/utils';
|
||||||
import Popover from '..';
|
import Popover from '..';
|
||||||
|
import mountTest from '../../../tests/shared/mountTest';
|
||||||
|
|
||||||
describe('Popover', () => {
|
describe('Popover', () => {
|
||||||
|
mountTest(Popover);
|
||||||
it('should show overlay when trigger is clicked', async () => {
|
it('should show overlay when trigger is clicked', async () => {
|
||||||
const popover = mount(
|
const popover = mount(
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue