forked from verdnatura/salix-front
19 lines
470 B
JavaScript
19 lines
470 B
JavaScript
import { installQuasarPlugin } from '@quasar/quasar-app-extension-testing-unit-jest';
|
|
import { describe, expect, it } from '@jest/globals';
|
|
import { mount } from '@vue/test-utils';
|
|
import MyDialog from './demo/MyDialog';
|
|
|
|
installQuasarPlugin();
|
|
|
|
describe('MyDialog', () => {
|
|
it('should mount MyDialog', () => {
|
|
const wrapper = mount(MyDialog, {
|
|
data: () => ({
|
|
isDialogOpen: true,
|
|
}),
|
|
});
|
|
|
|
expect(wrapper.exists()).toBe(true);
|
|
});
|
|
});
|