Upgrade to ESLint 9+ and flat config (#9410)

This commit is contained in:
Volodymyr Agafonkin
2024-07-27 19:38:35 +03:00
committed by GitHub
parent 688033d412
commit 54f49b5bd4
16 changed files with 1779 additions and 1885 deletions

View File

@ -602,9 +602,8 @@ describe('DomEvent', () => {
function isPrevented(e) {
if ('defaultPrevented' in e) {
return e.defaultPrevented;
} else { // IE<11
return !e.returnValue;
}
return !e.returnValue; // IE<11
}
it('prevents the default action of event', (done) => {