From 6134d010acb8a3b3b7091122387f53886faec92f Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sat, 10 May 2025 00:17:55 +0300 Subject: [PATCH] test(ckeditor5-math): fix errors due to missing stopPropagation --- packages/ckeditor5-math/tests/automath.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/ckeditor5-math/tests/automath.ts b/packages/ckeditor5-math/tests/automath.ts index ff9675c99..a6a3b8ab3 100644 --- a/packages/ckeditor5-math/tests/automath.ts +++ b/packages/ckeditor5-math/tests/automath.ts @@ -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() {} } ); }