mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 17:02:38 +00:00
Components update v.3.21.0
This commit is contained in:
parent
18497d55b1
commit
defd6ff6e2
242 changed files with 28022 additions and 17523 deletions
|
@ -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({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue