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

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() {}
} );
}