test(ckeditor5-math): fix errors due to missing stopPropagation

This commit is contained in:
Elian Doran 2025-05-10 00:17:55 +03:00
parent 4fb333f15e
commit 6134d010ac
No known key found for this signature in database

View File

@ -166,9 +166,8 @@ describe( 'AutoMath - integration', () => {
function pasteHtml( editor: ClassicEditor, html: string ) {
editor.editing.view.document.fire( 'paste', {
dataTransfer: createDataTransfer( { 'text/html': html } ),
preventDefault() {
return undefined;
}
preventDefault() {},
stopPropagation() {}
} );
}