Components update v.3.21.0

This commit is contained in:
Bahadır Sofuoğlu 2022-12-08 14:04:25 +03:00
parent 18497d55b1
commit defd6ff6e2
242 changed files with 28022 additions and 17523 deletions

View file

@ -1,8 +1,7 @@
import { config, mount } from '@vue/test-utils';
import BlockUI from './BlockUI.vue';
import Panel from '../panel/Panel.vue';
import Button from '../button/Button.vue';
import Panel from '@/components/panel/Panel.vue';
import Button from '@/components/button/Button.vue';
config.global.mocks = {
$primevue: {
@ -10,17 +9,10 @@ config.global.mocks = {
zIndex: {
modal: 1100
}
},
DomHandler: {
addClass: vi.fn(),
removeClass: vi.fn()
},
ZIndexUtils: {
set: vi.fn(),
clear: vi.fn()
}
}
};
describe('BlockUI.vue', () => {
it('should blocked and unblocked the panel', async () => {
const wrapper = mount({