primevue-mirror/tests/unit/Dialog.spec.js

10 lines
276 B
JavaScript
Raw Normal View History

2022-02-09 06:28:25 +00:00
import { mount } from '@vue/test-utils';
import Dialog from '@/components/dialog/Dialog.vue';
describe('Dialog.vue', () => {
it('is Dialog element exist', () => {
const wrapper = mount(Dialog);
expect(wrapper.find('.p-dialog.p-component').exists()).toBe(false);
})
});