2023-04-28 13:58:46 +00:00
|
|
|
import { config } from '@vue/test-utils';
|
|
|
|
import { defaultOptions } from 'primevue/config';
|
|
|
|
|
|
|
|
config.global.mocks['$primevue'] = {
|
|
|
|
config: defaultOptions
|
|
|
|
};
|
2023-04-28 14:06:05 +00:00
|
|
|
|
2023-11-21 14:34:41 +00:00
|
|
|
Object.defineProperty(window, 'matchMedia', {
|
|
|
|
writable: true,
|
|
|
|
value: vi.fn().mockImplementation((query) => ({
|
|
|
|
matches: false,
|
|
|
|
media: query,
|
|
|
|
onchange: null,
|
|
|
|
addEventListener: vi.fn(),
|
|
|
|
removeEventListener: vi.fn()
|
|
|
|
}))
|
|
|
|
});
|
|
|
|
|
2023-04-28 14:06:05 +00:00
|
|
|
describe('PrimeVue.vue', () => {
|
|
|
|
it('should exist', async () => {});
|
|
|
|
});
|