mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Unit test fixes after major updates
This commit is contained in:
parent
fe60480678
commit
acfaf6af9f
13 changed files with 21 additions and 59 deletions
|
@ -32,7 +32,7 @@ describe('ConfirmDialog', () => {
|
|||
|
||||
await wrapper.vm.reject();
|
||||
|
||||
expect(wrapper.find('.p-dialog-mask .p-dialog.p-component').exists()).toBe(true);
|
||||
expect(wrapper.find('.p-dialog-mask .p-dialog.p-component').exists()).toBe(false);
|
||||
});
|
||||
|
||||
it('should dialog trigger the accept function', async () => {
|
||||
|
@ -128,7 +128,7 @@ describe('ConfirmDialog', () => {
|
|||
|
||||
await dialogCloseBtn.trigger('click');
|
||||
|
||||
expect(wrapper.find('.p-dialog-mask .p-dialog.p-component').exists()).toBe(true);
|
||||
expect(wrapper.find('.p-dialog-mask .p-dialog.p-component').exists()).toBe(false);
|
||||
});
|
||||
|
||||
it('should position work', async () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue