Unit test fixes

This commit is contained in:
Bahadır Sofuoğlu 2023-04-06 02:06:03 +03:00
parent f7b83553e5
commit 84b85dc77d
10 changed files with 889 additions and 1399 deletions

View file

@ -50,14 +50,8 @@ describe('ConfirmDialog', () => {
message: 'Are you sure you want to proceed?',
header: 'Confirmation',
icon: 'pi pi-exclamation-triangle',
accept: () => {
// eslint-disable-next-line no-console
console.log('accept');
},
reject: () => {
// eslint-disable-next-line no-console
console.log('reject');
}
accept: () => {},
reject: () => {}
},
visible: true
};
@ -89,14 +83,8 @@ describe('ConfirmDialog', () => {
message: 'Are you sure you want to proceed?',
header: 'Confirmation',
icon: 'pi pi-exclamation-triangle',
accept: () => {
// eslint-disable-next-line no-console
console.log('accept');
},
reject: () => {
// eslint-disable-next-line no-console
console.log('reject');
}
accept: () => {},
reject: () => {}
},
visible: true
};